Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove an example which is a syntax error in Ruby's parser
This code generates a syntax error as follows: ```ruby ❯ ruby -e '[1].each { put _1; [1].each { put _1 } }' -e: -e:1: syntax error found (SyntaxError) > 1 | ... _1 } } | ^~ numbered parameter is already used in outer block ``` When numbered parameters are used in nested blocks, it is not possible to use numbered parameters in multiple different hierarchies. While it was considered to split these up, we discussed below. #2014 (comment)
- Loading branch information