]> gerrit.simantics Code Review - simantics/platform.git/commitdiff
(refs #7574) Trivial implementation of resolve in EAmbigious 42/1142/2
authorHannu Niemistö <hannu.niemisto@semantum.fi>
Wed, 25 Oct 2017 08:20:06 +0000 (11:20 +0300)
committerHannu Niemistö <hannu.niemisto@semantum.fi>
Wed, 25 Oct 2017 08:20:35 +0000 (11:20 +0300)
Change-Id: I0fb8abdb5e35d263d2c341183aff4c546b4efac6

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