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%2FConstructorNameClash.scl;h=6261943961d45efdfc09f532994827c74dfe4c31;hp=52826a5389f8884bb0071114d6209ab44dc13c39;hb=172abed5dbf73c1304a7a95bb8504ea293556948;hpb=591f4572f18d20a08a797a8e5c4a8dfc1b3320c1 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