]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/While.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 / While.scl
index 3e450439b444eb347db9195d0c5ed1b59a323b9a..27e47b99c4f63f7effc48297929dcdb164441232 100644 (file)
@@ -1,10 +1,10 @@
-\r
-while :: (<e> Boolean) -> (<e> a) -> <e> ()\r
-while cond body = loop ()\r
-  where loop _ = if cond\r
-                 then do body ; loop ()\r
-                 else ()\r
-\r
-main = "FOO"\r
---\r
+
+while :: (<e> Boolean) -> (<e> a) -> <e> ()
+while cond body = loop ()
+  where loop _ = if cond
+                 then do body ; loop ()
+                 else ()
+
+main = "FOO"
+--
 FOO
\ No newline at end of file