]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/TypingError2.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / TypingError2.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/TypingError2.scl b/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/TypingError2.scl
new file mode 100644 (file)
index 0000000..7632ffc
--- /dev/null
@@ -0,0 +1,9 @@
+a :: Integer\r
+a = a\r
+\r
+id :: Integer -> Integer\r
+id x = x\r
+\r
+b = id a a\r
+--\r
+7:5-7:11: Function of arity 1 is applied with 2 parameters.
\ No newline at end of file