Skip to content

Commit

Permalink
Merge pull request #2055 from Arthurm1/java_error_position
Browse files Browse the repository at this point in the history
Report java error column
  • Loading branch information
tgodzik committed May 24, 2023
2 parents 2e0eb7f + 312768e commit 9007a16
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ object ZincInternals {
rangePosition.orElse {
for { line <- asIntPos(position.line()) } yield (
line,
asIntPos(position.pointer()).getOrElse(0)
asIntPos(position.pointer()).orElse(asIntPos(position.offset())).getOrElse(0)
)
}
}
Expand Down

0 comments on commit 9007a16

Please sign in to comment.