simplic / simplic-dlr

Provides classes and methods to easily integrate dlr languages like IronPython into your application without loosing flexibility.
MIT License
3 stars 1 forks source link

CallFunctions params no correctly resolved #3

Open simplicbe opened 8 years ago

simplicbe commented 8 years ago

In this part of the dlr:

public dynamic CallFunction(string name, params object[] parameter)
 {
     var method = GetVariable(name);
     return method(parameter);
}

The object array is passed to the python function as an array and not single parameter. This problem occured in Simplic.Logistics.