Fix use of numbered parameter inside proc that is default value of optarg
This allows cases such as: ```ruby m ->(a = ->{@1}) {a} m.call.call(1) m2 ->(a: ->{@1}) {a} m2.call.call(2) ``` Previously, this would cause a syntax error. [Bug#15789]
This commit is contained in:
parent
0c0ed1cee8
commit
bb4ac7a650