Skip to content

Commit

Permalink
Add 1 to end column of Os.printParseableMessages.
Browse files Browse the repository at this point in the history
  • Loading branch information
robby-phd committed Dec 9, 2024
1 parent b767696 commit 9853018
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion library/jvm/src/main/scala/org/sireum/Os.scala
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ object Os {
text = ops.StringOps(text).replaceAllLiterally("\n", " ")
m.posOpt match {
case Some(pos) if pos.uriOpt.nonEmpty =>
println(s"${Os.Path.fromUri(pos.uriOpt.get)}:${pos.beginLine}:${pos.beginColumn}:${pos.endLine}:${pos.endColumn}: $severity: $text")
println(s"${Os.Path.fromUri(pos.uriOpt.get)}:${pos.beginLine}:${pos.beginColumn}:${pos.endLine}:${pos.endColumn + 1}: $severity: $text")
case _ =>
println(s"$severity: $text")
}
Expand Down

0 comments on commit 9853018

Please sign in to comment.