calling methods with params keyword
sophiepeithos opened this issue · comments
邓晖 commented
for example
C# code:
public class Test
{
static public void Method(int a, params int[] others) {}
}
lua code:
Test.Method(1)--invalid arguments to method: Test.Method
Test.Method(1, {}) --correct
Vinicius Jarina commented
This is odd.. this seems to be working on tests https://github.com/NLua/NLua/blob/master/tests/LuaTests.cs#L1949
I will take a look later.