]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/StringInterpolation1.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 / StringInterpolation1.scl
1 import "Prelude"
2
3 f x = x + 1
4
5 g a b = """\(a) + \(b) = \(a+b)"""
6
7 main = "f 3 = \(f 3), " + g 1 2
8 --
9 f 3 = 4, 1 + 2 = 3