Closed robotboy655 closed 1 year ago
Started using this project again, and started noticing weird offsets on warning squiggles that I do not believe were there before.
it works correctly when there are no string literals before the warning:
Sample code that reproduces the issue:
function PrintTable() t = "" or "" key = "" and "" and "dddd" || "[]" end
The more string literals you put on a line before the warning, the more the warning will be offset to the left.
Edit: Forgot to mention I am using 1.26.0 build with VSCode plugin, but the issue exists on the web version as well.
Thanks for reporting, looks like 0d32e506623388a45a8c584cfc6ff3db4367e945 is a suspect commit for this regression.
Fixed, and added a regression test
Started using this project again, and started noticing weird offsets on warning squiggles that I do not believe were there before.
it works correctly when there are no string literals before the warning:
Sample code that reproduces the issue:
The more string literals you put on a line before the warning, the more the warning will be offset to the left.
Edit: Forgot to mention I am using 1.26.0 build with VSCode plugin, but the issue exists on the web version as well.