]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/TypeAlias3.scl
Migrated source code from Simantics SVN
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / TypeAlias3.scl
diff --git a/bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/TypeAlias3.scl b/bundles/org.simantics.scl.compiler/tests/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