]> gerrit.simantics Code Review - simantics/platform.git/blob - tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/InvalidPattern3.scl
cd9425658efdb7ad8b1aa8b0b8251558b0cdecd4
[simantics/platform.git] / tests / org.simantics.scl.compiler.tests / src / org / simantics / scl / compiler / tests / scl / InvalidPattern3.scl
1 foo x = b
2   where
3     if a then b else c = x
4
5 main = "Not to be executed."
6 --
7 1:9-1:10: Couldn't resolve variable b.
8 3:5-3:23: Pattern was expected here.