]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/IfWithoutElse.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 / IfWithoutElse.scl
index 6659033e2b9ea488cfffcd9616ef16f5a4b455c5..824358b2dae609bdb891e3a9f0e72b2327e01542 100644 (file)
@@ -1,11 +1,11 @@
-import "Prelude"\r
-\r
-main = do\r
-    x = ref 3\r
-    if 2 > 1\r
-    then x := 4\r
-    if 1 > 2\r
-    then x := 8\r
-    getRef x\r
---\r
+import "Prelude"
+
+main = do
+    x = ref 3
+    if 2 > 1
+    then x := 4
+    if 1 > 2
+    then x := 8
+    getRef x
+--
 4
\ No newline at end of file