From: kevin.deisz@... Date: 2019-03-18T18:28:54+00:00 Subject: [ruby-core:91872] [Ruby trunk Bug#15673] Number args + Ripper Issue #15673 has been updated by kddeisz (Kevin Deisz). Some more investigation yields that `compile_error` is called with: identifier false is not valid to get ---------------------------------------- Bug #15673: Number args + Ripper https://bugs.ruby-lang.org/issues/15673#change-77140 * Author: kddeisz (Kevin Deisz) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.7.0dev (2019-03-18 trunk 67295) [x86_64-darwin18] * Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- Hi there - Love the new number args for blocks. When I run ``` ruby [1, 2, 3].map { @1 * 2 } ``` everything works. However, when I run: ```ruby require 'ripper'; Ripper.new('[1, 2, 3].map { @1 * 2 }').parse ``` it returns nothing and says there's an error. -- https://bugs.ruby-lang.org/ Unsubscribe: