]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/ListError2.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / ListError2.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/ListError2.scl b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/ListError2.scl
new file mode 100644 (file)
index 0000000..135e270
--- /dev/null
@@ -0,0 +1,7 @@
+a :: Integer\r
+a = a\r
+\r
+main :: [Integer]\r
+main = [x | x <- a]\r
+--\r
+5:18-5:19: Expected <[a]> got <Integer>.
\ No newline at end of file