Skip to content

Conversation

@Joy-less
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant