]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Logger.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 / Logger.scl
1 import "Logging"
2 import "Prelude"
3
4 main = ()
5   where
6     info "Something happened."
7     print (read "XX" :: Double) `catch` (\(e :: Throwable) -> errorE "Something bad happened." e) 
8 --
9 ()