]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Matching2.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 / Matching2.scl
1
2 main = match (5 :: Integer) with
3   (1 :: Integer) -> "wrong"
4   (2 :: Integer) -> "wrong"
5   (5 :: Integer) -> "right"
6   (6 :: Integer) -> "wrong"
7   _ -> "wrong"
8 --
9 right