Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
220.127.116.11: block arguments *_ and &_ at the same time fails with DynamicScope1 only supports scopes with 1 variables #4341
@jensnockert narrowed in this defect that happens to
JRuby to output the same as MRI.
It also works in 18.104.22.168:
referenced this issue
Nov 28, 2016
I fixed this. We wallpapered over our code years ago to ignore $0 but only in staticscope whereas we should have also just removed this extra logic in the parser. The result is that staticscope only registers _ and ignores all 'fake' names ($0, _$1...) but the AST still gives that name to IRBuilder.
There is still an issue with zsuper and _ variables but I opened up #4342 for that since they exhibit different visible behavior (e.g. we don't crash in that one)/.