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
Actions
Like0
Like0Like0