]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/StringInterpolation2.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 / StringInterpolation2.scl
1 import "Prelude"
2
3 main = match "abc123def" with
4       "abc\(x)fed" -> "X\(x)"
5       "cba\(x)def" -> "Y\(x)"
6       "abc\(x)def" -> "Z\(x)"
7       x            -> "W\(x)"
8 --
9 Z123