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=babfb5a580e5fa0b9d758cbe1b441a0ec51ab5cc;hb=131be5c413e1f9dc652b6b46c763625b30ad8350;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..babfb5a58 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,8 @@ - -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 has already been defined in this module. 3:13-3:38: Value Vec2 is already defined. \ No newline at end of file