X-Git-Url: https://gerrit.simantics.org/r/gitweb?p=simantics%2Fplatform.git;a=blobdiff_plain;f=tests%2Forg.simantics.scl.compiler.tests%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ftests%2Fscl%2FInvalidPattern3.scl;h=e5b4785aeb73095e599df9cb636de9bebfc44cee;hp=460a9bdfef5f4fc4a845c3276f3ecc921a82377b;hb=172abed5dbf73c1304a7a95bb8504ea293556948;hpb=c08364c64a0bb53c45c052a3e4cea8702bbd69a0 diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/InvalidPattern3.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/InvalidPattern3.scl index 460a9bdfe..e5b4785ae 100644 --- a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/InvalidPattern3.scl +++ b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/InvalidPattern3.scl @@ -1,8 +1,8 @@ -foo x = b - where - if a then b else c = x - -main = "Not to be executed." --- -1:9-1:10: Couldn't resolve variable b. +foo x = b + where + if a then b else c = x + +main = "Not to be executed." +-- +1:9-1:10: Couldn't resolve b. 3:5-3:23: Pattern was expected here. \ No newline at end of file