Actions
Bug #15825
closedFix a case where numbered parameters should not be allowed
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.7.0dev (2019-05-05 trunk 84e71e9fc1) [x86_64-openbsd]
Description
Because proc{|| @1}
is a syntax error, the following should
also be syntax errors:
proc { |
| @1}
proc { |; a| @1 }
The attached patch makes both of those cases syntax errors.
Files
Actions
Like0
Like0Like0