X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=blobdiff_plain;f=tests%2Forg.simantics.scl.compiler.tests%2Fsrc%2Forg%2Fsimantics%2Fscl%2Fcompiler%2Ftests%2Fscl%2FConstructorNameClash.scl;h=6261943961d45efdfc09f532994827c74dfe4c31;hb=6573b29e111ea03c3fa88bf1565d47d0fc4faabd;hp=52826a5389f8884bb0071114d6209ab44dc13c39;hpb=dcca7344e1da6f975859fd79fbc6cead7d363042;p=simantics%2Fplatform.git diff --git a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ConstructorNameClash.scl b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ConstructorNameClash.scl index 52826a538..626194396 100644 --- a/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ConstructorNameClash.scl +++ b/tests/org.simantics.scl.compiler.tests/src/org/simantics/scl/compiler/tests/scl/ConstructorNameClash.scl @@ -1,7 +1,7 @@ - -data Vec2 = Vec2 Double Double -data Vec3 = Vec2 Double Double Double - -main = "Not to be executed." --- + +data Vec2 = Vec2 Double Double +data Vec3 = Vec2 Double Double Double + +main = "Not to be executed." +-- 3:13-3:38: Value Vec2 is already defined. \ No newline at end of file