]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/StringInterpolation2.scl
Merge "Ensure GetElementClassRequest is not constructed without elementFactory"
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / StringInterpolation2.scl
1 import "Prelude"\r
2 \r
3 main = match "abc123def" with\r
4       "abc\(x)fed" -> "X\(x)"\r
5       "cba\(x)def" -> "Y\(x)"\r
6       "abc\(x)def" -> "Z\(x)"\r
7       x            -> "W\(x)"\r
8 --\r
9 Z123