]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/TypeAlias3.scl
Automatic execution of SCL tests in Maven
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / TypeAlias3.scl
diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/TypeAlias3.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/TypeAlias3.scl
new file mode 100644 (file)
index 0000000..b25a8ab
--- /dev/null
@@ -0,0 +1,9 @@
+type IntegerList = [Integer]
+type DoubleList = [Double]
+
+convert :: IntegerList -> DoubleList
+convert v = v
+
+main = "Not to be executed."
+--
+5:13-5:14: Expected <[Double]> got <[Integer]>.
\ No newline at end of file