]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/equation/EqGuard.java
migrated to svn revision 33108
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / elaboration / equation / EqGuard.java
index c753924e64eb7fc5e99576e2e6fa2e4c13200475..8b24943478792887543d9a6cc363ff63fe1281b7 100644 (file)
@@ -56,7 +56,7 @@ public class EqGuard extends Equation {
 \r
     @Override\r
     public void checkType(TypingContext context) {\r
 \r
     @Override\r
     public void checkType(TypingContext context) {\r
-        guard = guard.inferType(context);\r
+        guard = guard.checkIgnoredType(context);\r
     }\r
 \r
     @Override\r
     }\r
 \r
     @Override\r