]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/TypingError1.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / TypingError1.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/TypingError1.scl b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/TypingError1.scl
new file mode 100644 (file)
index 0000000..9f39243
--- /dev/null
@@ -0,0 +1,9 @@
+a :: Double
+a = a
+
+id :: Integer -> Integer
+id x = x
+
+b = id a
+--
+7:8-7:9: Expected <Integer> got <Double>.
\ No newline at end of file