]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/Matching3.scl
Ensure GetElementClassRequest is not constructed without elementFactory
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / Matching3.scl
1 \r
2 a = 5 :: Long\r
3 main = match a with\r
4   1 -> "wrong"\r
5   2 -> "wrong"\r
6   5 -> "right"\r
7   6 -> "wrong"\r
8   _ -> "wrong"\r
9 --\r
10 right