From: Antti Villberg Date: Tue, 10 Sep 2019 08:44:14 +0000 (+0300) Subject: Missing arguments in SCLFunctions.evaluate X-Git-Tag: v1.43.0~136^2~75 X-Git-Url: https://gerrit.simantics.org/r/gitweb?a=commitdiff_plain;h=2317b4651fb6c51f634074e9644aa056d1338ea1;p=simantics%2Fplatform.git Missing arguments in SCLFunctions.evaluate gitlab #377 Change-Id: I4318bcea21696a69e3ae6ce4718090ac7737cf2b --- diff --git a/bundles/org.simantics.scl.db/src/org/simantics/scl/db/SCLFunctions.java b/bundles/org.simantics.scl.db/src/org/simantics/scl/db/SCLFunctions.java index 2fd74b21e..09022d543 100644 --- a/bundles/org.simantics.scl.db/src/org/simantics/scl/db/SCLFunctions.java +++ b/bundles/org.simantics.scl.db/src/org/simantics/scl/db/SCLFunctions.java @@ -123,7 +123,7 @@ public class SCLFunctions { } private static T evaluate(RuntimeModule rm, String function, Object ... args) throws ValueNotFound { - return evaluate(resolveFunction(rm, function)); + return evaluate(resolveFunction(rm, function), args); } public static T evaluate(String module, String function, Object ... args) throws ValueNotFound {