From 715de99436bd55de23f9e8af2a3f1a7d3624580f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Hannu=20Niemist=C3=B6?= Date: Wed, 25 Oct 2017 11:20:06 +0300 Subject: [PATCH] (refs #7574) Trivial implementation of resolve in EAmbigious Change-Id: I0fb8abdb5e35d263d2c341183aff4c546b4efac6 --- .../scl/compiler/elaboration/expressions/EAmbiguous.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/expressions/EAmbiguous.java b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/expressions/EAmbiguous.java index 0afb14b89..f30b5d753 100644 --- a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/expressions/EAmbiguous.java +++ b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/expressions/EAmbiguous.java @@ -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 -- 2.47.1