We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 04580dc commit 4e7466cCopy full SHA for 4e7466c
src/main/scala/inox/Reporter.scala
@@ -204,7 +204,9 @@ class DefaultReporter(debugSections: Set[DebugSection]) extends Reporter(debugSe
204
def printLineContent(pos: Position, asciiOnly: Boolean): Unit = {
205
getLine(pos) match {
206
case Some(line) =>
207
- println(blankPrefix+line)
+ // Scala positions probably assume 1 tab = 8 spaces, so we replaces tabs
208
+ // for the carret (^) computed below to be aligned
209
+ println(blankPrefix+line.replace("\t", " " * 8))
210
pos match {
211
case rp: RangePosition =>
212
val bp = rp.focusBegin
0 commit comments