]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/Transformation6.scl
Supply SVG text editor with element measurement context
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / Transformation6.scl
1 import "StandardLibrary"
2
3 mapping relation Foo String String
4     
5 rule DoIt where
6     @when
7     Foo ?a ?b
8     
9     @to
10     Foo ?b "c"
11
12 main = transformation OneShotForward where
13     Foo "a" "b"
14 --
15 10:9-10:11: Cannot resolve the variable ?b using the source patterns.