From 2542bc1ae2bbddedb6e82e46fa8eb9838a63aea7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Hannu=20Niemist=C3=B6?= Date: Mon, 3 Jul 2017 11:35:12 +0300 Subject: [PATCH] (refs #7346) Give a proper error message about unresolved relations Change-Id: I0819c0cbc1c58e1090ac79f8457bcf308796cd23 --- .../scl/compiler/elaboration/chr/CHRLiteral.java | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) 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) { -- 2.43.2