]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/NoDefinitionErrorMessage.scl
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / NoDefinitionErrorMessage.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/NoDefinitionErrorMessage.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/NoDefinitionErrorMessage.scl
new file mode 100644 (file)
index 0000000..8597a78
--- /dev/null
@@ -0,0 +1,7 @@
+// Idea of this test is that the missing definition should only cause\r
+// one error message pointing to the type declaration.\r
+a :: Double\r
+b :: Double\r
+b = a\r
+--\r
+3:1-3:12: a is not defined.
\ No newline at end of file