Actions
Bug #7559
closedWrong line number with method call syntax
Description
以下のような場合に表示される行数がおかしくなります。
def foo(*args)
p caller[0][/\d+/].to_i #=> expected 4 but 8
end
foo "a
b
c
d
e"
def bar(a, b, line)
p a
p line #=> expected 14 but 19
end
def baz
bar LINE, <<eom, LINE
a
b
c
d
eom
end
baz
Actions
Like0
Like0