You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Nifty! But errors after the first (even across files) seem to be listed on the wrong line numbers -- they are earlier than reported.
(Sorry, I don't have a reproducible case. But when I ran it on a code base, I found this immediately.)
The text was updated successfully, but these errors were encountered:
I was able to reproduce it. The first couple of cases I checked were off by 1 but after enough cases, I found one off by 3. Mostly noticing this so I don't forget and look in the wrong place
I didn't count on how `buffer.lines().count()` would handle different
corner cases, like slices with no `\n`, slices with trailing `\n`, etc.
Fixescrate-ci#259
Nifty! But errors after the first (even across files) seem to be listed on the wrong line numbers -- they are earlier than reported.
(Sorry, I don't have a reproducible case. But when I ran it on a code base, I found this immediately.)
The text was updated successfully, but these errors were encountered: