Actions
Bug #17858
closedTrailing comma after a `&block` parameter cause a syntax error
Description
Something I just noticed:
some_long_method(
1,
&block, # syntax error, unexpected ',', expecting ')'
)
Which seems inconsistent to me as it works for regular parameters:
some_long_method(
1,
2,
)
I'm not sure if this is an intended limitation or just an oversight.
Actions
Like0
Like0Like0