Actions
Bug #15673
closedNumber args + Ripper
Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 2.7.0dev (2019-03-18 trunk 67295) [x86_64-darwin18]
Description
Hi there -
Love the new number args for blocks. When I run
[1, 2, 3].map { @1 * 2 }
everything works. However, when I run:
require 'ripper'; Ripper.new('[1, 2, 3].map { @1 * 2 }').parse
it returns nothing and says there's an error.
Files
Actions
Like0
Like0Like0Like0Like0