Line number is off sometimes #1

Open
opened 2026-05-02 08:58:47 +00:00 by kabr8 · 1 comment
Owner

Sometimes the line number is not quite right.
See example:
image.png

Sometimes the line number is not quite right. See example: <img width="538" alt="image.png" src="attachments/0278182b-2d73-4dd6-aaf6-f0df395d772e">
117 KiB
kabr8 added the bug label 2026-05-02 08:58:47 +00:00
Author
Owner

I had a file that had the diffs at the end. KARL made comments at the top. So I think I found the issue:
Gemini responses with the line counted from the start of the diff.
But the line number is then applied to the whole file,
so that a e.g "line 10 comment on diff" get to a "line 10 comment on file"

I had a file that had the diffs at the end. KARL made comments at the top. So I think I found the issue: Gemini responses with the line counted from the start of the diff. But the line number is then applied to the whole file, so that a e.g "line 10 comment on diff" get to a "line 10 comment on file"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SKUI/KARL#1