]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/OneLineMatch.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 / OneLineMatch.scl
index 3f16b078323944d40432023e1cc3b4fab92a7f37..d8210a30582061033f39ec30bf9b7f68ab3ced70 100644 (file)
@@ -1,6 +1,6 @@
-// Tests that match cases can be given in the same line as the scrutinee\r
-data FooBar a = Foo a | Bar a\r
-extract x = match x with Foo v -> v ; Bar v -> v\r
-main = extract (Foo (3 :: Integer))\r
---\r
+// Tests that match cases can be given in the same line as the scrutinee
+data FooBar a = Foo a | Bar a
+extract x = match x with Foo v -> v ; Bar v -> v
+main = extract (Foo (3 :: Integer))
+--
 3
\ No newline at end of file