Actions
Bug #10894
closedUnamed keyrest argument and a normal keyword argument disallow arbitrary keyword arguments
Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
ruby 2.0.0p576 (2014-09-19) [x86_64-linux]
Description
$ ruby -ve 'def m(a:1,**);end; p m(a:1,b:2)'
ruby 2.0.0p576 (2014-09-19) [x86_64-linux]
-e:1:in `<main>': unknown keyword: b (ArgumentError)
I searched to find out if it was reported but I did not find anything.
Can you confirm it is a bug?
2.1+ are not affected.
Updated by Eregon (Benoit Daloze) over 8 years ago
- Status changed from Open to Rejected
Since 2.0.0 only accept security fixes I'll close this.
Actions
Like0
Like0