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