X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=tests%2Forg.simantics.scl.compiler.tests%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ftests%2Fscl%2FLogger.scl;h=1a87375141b3511e5cdda7e624f3d4824f0ea75a;hp=84a5030ec73a11a454ea225d4768ffd00b5dbace;hb=d0eb7b399ba1510610da9a7f4d29b671950f1426;hpb=f5fc85ba00f434402caa2a4c83a302a3b035adce diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Logger.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Logger.scl index 84a5030ec..1a8737514 100644 --- a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Logger.scl +++ b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Logger.scl @@ -1,5 +1,9 @@ import "Logging" +import "Prelude" -main = info "Something happened." +main = () + where + info "Something happened." + print (read "XX" :: Double) `catch` (\(e :: Throwable) -> errorE "Something bad happened." e) -- () \ No newline at end of file