]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/LambdaMatch.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 / LambdaMatch.scl
index 7e9103a6a846f45e35249d5139c7a074c5aef5f0..7aacf0b62e50faf80b6812689838e5fe57318ade 100644 (file)
@@ -1,10 +1,10 @@
-import "Prelude"\r
-\r
-f :: Maybe String -> String\r
-f = \match\r
-     Just a -> a\r
-     Nothing -> ""\r
-\r
-main = f Nothing + f (Just "foo")\r
---\r
-foo\r
+import "Prelude"
+
+f :: Maybe String -> String
+f = \match
+     Just a -> a
+     Nothing -> ""
+
+main = f Nothing + f (Just "foo")
+--
+foo