]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/MatchingWithoutTypeAnnotations.scl
Fixed multiple issues causing dangling references to discarded queries
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / MatchingWithoutTypeAnnotations.scl
index 80d1477730e97a4ea4ca028de17ad08dcb566d53..2fdc4dbfd989b9e1e737c727d97e19831195da77 100644 (file)
@@ -1,10 +1,10 @@
-\r
-data List a = Nil | Cons a (List a)\r
-\r
-//first :: List Integer -> Integer\r
-first Nil = 0 :: Integer\r
-first (Cons x _) = x\r
-\r
-main = first (Cons (9 :: Integer) (Cons (8 :: Integer) Nil))\r
---\r
+
+data List a = Nil | Cons a (List a)
+
+//first :: List Integer -> Integer
+first Nil = 0 :: Integer
+first (Cons x _) = x
+
+main = first (Cons (9 :: Integer) (Cons (8 :: Integer) Nil))
+--
 9
\ No newline at end of file