Closed mvz closed 3 years ago
Heredocs and line numbers are just a complete clusterfuck. Unfortunately, they're not going to get fixed until I completely rewrite all string/heredoc parsing entirely. It's just bad. Real bad.
I think I already have a skipped test or two that covers this issue. If not, then can you send me a PR with one for this case?
Aaaand I completely rewrote it. This is fixed. Release coming soonish.
The call to
foo
is on line 5, buts(:call, nil, :foo)
has line number 4.