]> gerrit.simantics Code Review - simantics/platform.git/blob - bundles/org.simantics.scl.compiler/tests/org/simantics/scl/compiler/tests/scl/StringInterpolation1.scl
Ensure GetElementClassRequest is not constructed without elementFactory
[simantics/platform.git] / bundles / org.simantics.scl.compiler / tests / org / simantics / scl / compiler / tests / scl / StringInterpolation1.scl
1 import "Prelude"\r
2 \r
3 f x = x + 1\r
4 \r
5 g a b = """\(a) + \(b) = \(a+b)"""\r
6 \r
7 main = "f 3 = \(f 3), " + g 1 2\r
8 --\r
9 f 3 = 4, 1 + 2 = 3