Missing arguments in SCLFunctions.evaluate 32/3232/1
authorAntti Villberg <antti.villberg@semantum.fi>
Tue, 10 Sep 2019 08:44:14 +0000 (11:44 +0300)
committerAntti Villberg <antti.villberg@semantum.fi>
Tue, 10 Sep 2019 08:44:14 +0000 (11:44 +0300)
gitlab #377

Change-Id: I4318bcea21696a69e3ae6ce4718090ac7737cf2b

bundles/org.simantics.scl.db/src/org/simantics/scl/db/SCLFunctions.java

index 2fd74b21e3e1c25e7b7b520ba24f559ff0749a06..09022d543c1aba3e9101028c88ed939b72759963 100644 (file)
@@ -123,7 +123,7 @@ public class SCLFunctions {
     }
 
     private static <T> T evaluate(RuntimeModule rm, String function, Object ... args) throws ValueNotFound {
-        return evaluate(resolveFunction(rm, function));
+        return evaluate(resolveFunction(rm, function), args);
     }
 
     public static <T> T evaluate(String module, String function, Object ... args) throws ValueNotFound {