Project

General

Profile

ยซ Previous | Next ยป 

Revision 24bcd494

Added by kddnewton (Kevin Newton) about 2 years ago

[ruby/yarp] Fix first method param lex failures

When Ripper encounters a method parameter that is the first
parameter and is an identifier and it shadows a local scope, it
incorrectly marks it as END|LABEL (because it think it's a local).

We need to account for that in the lex compat in order to properly
compare.

https://github.com/ruby/yarp/commit/15f725a1b1