moonsharp
moonsharp copied to clipboard
Fix for #198 (var args are nil when void is passed)
function x(...)
print(select('#', ...))
end
x()
Previous output: 1
New output: 0
Previously, when nothing was passed to variadic arguments (...) it would actually pass nil. With the fix, it passes nothing.