Wrong line number with method call syntax
p caller[/\d+/].to_i #=> expected 4 but 8
def bar(a, b, line)
p line #=> expected 14 but 19
bar LINE, <<eom, LINE
Updated by nobu (Nobuyoshi Nakada) over 9 years ago
- Status changed from Assigned to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r38378.
Yui, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
parse.y: fix line number