]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ConjunctionMacro.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 / ConjunctionMacro.scl
1 (&&) :: Boolean -> (<e> Boolean) -> <e> Boolean
2 a && b = if a then b else False
3
4 main = False && fail "Should not be evaluated!"
5 --
6 false