]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Macros4.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 / Macros4.scl
index 87e41e0af91fbc6e7ea244bb002e2c212fc0b72f..1122bcd3a177cdb3d2147407e340e831a303c81f 100644 (file)
@@ -1,12 +1,12 @@
-@macro\r
-@inline\r
-($) :: (a -> <e> b) -> a -> <e> b\r
-f $ x = f x\r
-\r
-justExecute :: (() -> a) -> a\r
-justExecute f = f ()\r
-\r
-main :: Integer\r
-main = justExecute $ \() -> (13 :: Integer)\r
---\r
+@macro
+@inline
+($) :: (a -> <e> b) -> a -> <e> b
+f $ x = f x
+
+justExecute :: (() -> a) -> a
+justExecute f = f ()
+
+main :: Integer
+main = justExecute $ \() -> (13 :: Integer)
+--
 13
\ No newline at end of file