Skip to content

Commit efc83c6

Browse files
committed
Ensure -YshowSuppressedErrors also affects UniqueMessagePositions
As a followup to the earlier bugfix.
1 parent 26da0c8 commit efc83c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/dotty/tools/dotc/reporting/UniqueMessagePositions.scala

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ trait UniqueMessagePositions extends Reporter {
2626
case _ => positions((ctx.source, pos)) = m.level
2727
}
2828
}
29-
shouldHide
29+
shouldHide && !ctx.settings.YshowSuppressedErrors.value
3030
}
3131
}
3232
}

0 commit comments

Comments
 (0)