]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/expressions/EAmbiguous.java
(refs #7574) Trivial implementation of resolve in EAmbigious
[simantics/platform.git] / bundles / org.simantics.scl.compiler / src / org / simantics / scl / compiler / elaboration / expressions / EAmbiguous.java
index 0afb14b89f42c92060710133ae34186d3551d07d..f30b5d753d275c75ab4d2249a0b85634c6324b9f 100644 (file)
@@ -158,7 +158,7 @@ public class EAmbiguous extends SimplifiableExpression {
 
     @Override
     public Expression resolve(TranslationContext context) {
-        throw new InternalCompilerError("EAmbiguousConstant should not exist in resolve phase.");
+        return this;
     }
 
     @Override