Thanks for the great library, I've depended on this a few times and it has always worked superbly well.
However, I've come across an issue in the locations with long string literals. It seems that when the input expression spans many lines, the resulting column value for that expression is negative. For example:
I'll look into this sometime this week and open a PR if I can. However, if a possible cause pops into your head or you can give me any pointers in the meantime, that'd be great.
Hi,
Thanks for the great library, I've depended on this a few times and it has always worked superbly well.
However, I've come across an issue in the
locations
with long string literals. It seems that when the input expression spans many lines, the resultingcolumn
value for that expression is negative. For example:Results in:
Note the
"column":-8
in the middle.I'll look into this sometime this week and open a PR if I can. However, if a possible cause pops into your head or you can give me any pointers in the meantime, that'd be great.
Cheers.