Actions
Bug #12056
closedkwarg is not allowed after `return`
Description
Cited from http://aylog.tumblr.com/post/138772421042/return
$ ruby -e 'return foo: :bar'
-e:1: syntax error, unexpected ':', expecting end-of-input
return foo: :bar
^
Seems a bug.
https://github.com/ruby/ruby/compare/trunk...nobu:bug/return-kwargs
Updated by shyouhei (Shyouhei Urabe) over 8 years ago
cf https://docs.google.com/document/u/2/d/1rj7ODOCSfcsQeBd6-p-NiVwqxDUg05G66LwDOkKOGTw/pub
Matz is negative to this.
Updated by jeremyevans0 (Jeremy Evans) over 5 years ago
- Status changed from Open to Rejected
Actions
Like0
Like0Like0