]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Generalization.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 / Generalization.scl
index e5503349fe95aafd9357f4a93051aa4378372717..af3e215c939a9eb360792bdd67b7e1f8ff95453c 100644 (file)
@@ -1,13 +1,13 @@
-import "JavaBuiltin" as Java\r
-\r
-(+) = Java.iadd\r
-\r
-data Foo = Foo Integer\r
-\r
-escapeFoo (Foo x) = x\r
-\r
-id x = x\r
-\r
-main = id (3 :: Integer) + escapeFoo (id (Foo (4 :: Integer)))\r
---\r
+import "JavaBuiltin" as Java
+
+(+) = Java.iadd
+
+data Foo = Foo Integer
+
+escapeFoo (Foo x) = x
+
+id x = x
+
+main = id (3 :: Integer) + escapeFoo (id (Foo (4 :: Integer)))
+--
 7
\ No newline at end of file