Skip to content

Commit 3c6502b

Browse files
committed
sbt-bridge: Fix #2092: Disable position information in the reporter
This is temporary until someone figures out how to get sbt to not print duplicated information when this is turned on. This might require changes to sbt itself.
1 parent c321653 commit 3c6502b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sbt-bridge/src/xsbt/DelegatingReporter.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ final class DelegatingReporter(delegate: xsbti.Reporter) extends Reporter
2828
}
2929

3030
val position =
31-
if (cont.pos.exists) {
31+
if (false && cont.pos.exists) { // Disabled because it duplicates the information printed by Dotty
3232
val pos = cont.pos
3333
val src = pos.source
3434
new Position {

0 commit comments

Comments
 (0)