From: Hannu Niemistö Date: Mon, 3 Jul 2017 08:35:12 +0000 (+0300) Subject: (refs #7346) Give a proper error message about unresolved relations X-Git-Tag: v1.31.0~284 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F70%2F670%2F1;p=simantics%2Fplatform.git (refs #7346) Give a proper error message about unresolved relations Change-Id: I0819c0cbc1c58e1090ac79f8457bcf308796cd23 --- diff --git a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/chr/CHRLiteral.java b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/chr/CHRLiteral.java index 7b4a5bc26..f44609e6c 100644 --- a/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/chr/CHRLiteral.java +++ b/bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/elaboration/chr/CHRLiteral.java @@ -47,6 +47,10 @@ public class CHRLiteral extends Symbol { } public void resolve(TranslationContext context) { + if(parameters != null) { + for(int i=0;i allRefs, TIntHashSet refs) {