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 927acec commit dcdbc24Copy full SHA for dcdbc24
src/dotty/tools/dotc/reporting/ConsoleReporter.scala
@@ -40,7 +40,7 @@ class ConsoleReporter(
40
41
def columnMarker(pos: SourcePosition, offset: Int)(implicit ctx: Context) =
42
if (pos.startLine == pos.endLine) {
43
- val whitespace = " " * (pos.column + offset)
+ val whitespace = " " * (pos.startColumn + offset)
44
val carets =
45
Red("^" * math.max(1, pos.endColumn - pos.startColumn))
46
0 commit comments