]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/OverloadedLiterals2.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 / OverloadedLiterals2.scl
index c1670972a4d75e9b2a74a15c26d016171d92eb64..b71c73358ff1de44951208acdb29ae1903899927 100644 (file)
@@ -1,9 +1,9 @@
-import "Prelude"\r
-\r
-inc :: Ring a => a -> a\r
-inc x = x + 1\r
-\r
-main :: Double\r
-main = inc 34\r
---\r
+import "Prelude"
+
+inc :: Ring a => a -> a
+inc x = x + 1
+
+main :: Double
+main = inc 34
+--
 35.0
\ No newline at end of file