]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Select1.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 / Select1.scl
index f8d0359ec2dbbf00a10e8fe61a84d05689f5d782..12d89510c760546ac5851e3f565c00aceddad1a5 100644 (file)
@@ -1,11 +1,11 @@
-import "StandardLibrary"\r
-\r
-main = let\r
-    l = [1..3] \r
-  in\r
-    select (?x,?y) where \r
-        ?x <- l\r
-        ?y <- l\r
-        ?x = ?y\r
---\r
+import "StandardLibrary"
+
+main = let
+    l = [1..3] 
+  in
+    select (?x,?y) where 
+        ?x <- l
+        ?y <- l
+        ?x = ?y
+--
 [(1,1), (2,2), (3,3)]
\ No newline at end of file