Skip to content

Commit

Permalink
Put a comment back
Browse files Browse the repository at this point in the history
  • Loading branch information
certik committed Dec 27, 2024
1 parent aee23c5 commit d8861ed
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/src/lfortran-accessors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -379,6 +379,7 @@ export class LFortranCLIAccessor implements LFortranAccessor {
const range: Range = location.range;

const start: Position = range.start;
// if uri contains .ts file, then we need not to decrement the line and character by 1
if (!uri.includes(".ts")) {
start.line--;
}
Expand Down

0 comments on commit d8861ed

Please sign in to comment.