]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ListError1.scl
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / ListError1.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ListError1.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ListError1.scl
new file mode 100644 (file)
index 0000000..0fece99
--- /dev/null
@@ -0,0 +1,7 @@
+a :: [Integer]\r
+a = a\r
+\r
+main :: [Double]\r
+main = [x | x <- a]\r
+--\r
+5:9-5:10: Expected <Double> got <Integer>.
\ No newline at end of file