]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/BigInstances.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 / BigInstances.scl
index c64b1b703aeea491846147a921052105bfd20f28..b2e9e320f757116b696bc5d40b0e14b02fffe44f 100644 (file)
@@ -1,16 +1,16 @@
-\r
-class Foo a where\r
-    foo :: a\r
-    \r
-class (Foo a) => Bar a where\r
-    bar :: a\r
-    \r
-instance Bar Double where\r
-    foo x = x\r
-    bar x = x\r
-    \r
-main = foo 3.0 + bar 4.0\r
---\r
-7.0\r
-\r
+
+class Foo a where
+    foo :: a
+    
+class (Foo a) => Bar a where
+    bar :: a
+    
+instance Bar Double where
+    foo x = x
+    bar x = x
+    
+main = foo 3.0 + bar 4.0
+--
+7.0
+
     
\ No newline at end of file