]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/scl/StringInterpolation2.scl
Fixed multiple issues causing dangling references to discarded queries
[simantics/platform.git] / 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