]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/TooManyParametersToSin.scl
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / TooManyParametersToSin.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/TooManyParametersToSin.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/TooManyParametersToSin.scl
new file mode 100644 (file)
index 0000000..bfaf3db
--- /dev/null
@@ -0,0 +1,6 @@
+import "Prelude"\r
+\r
+main = sin 1 2\r
+--\r
+3:8-3:11: Constrain Real (a -> b) contains free variables not mentioned in the type of the value.\r
+3:14-3:15: Constrain Ring a contains free variables not mentioned in the type of the value.
\ No newline at end of file