We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
-YshowSuppressedErrors
UniqueMessagePositions
1 parent 2040fb2 commit 58fd5e2Copy full SHA for 58fd5e2
compiler/src/dotty/tools/dotc/reporting/UniqueMessagePositions.scala
@@ -18,7 +18,7 @@ trait UniqueMessagePositions extends Reporter {
18
*/
19
override def isHidden(m: MessageContainer)(implicit ctx: Context): Boolean =
20
super.isHidden(m) || {
21
- m.pos.exists && {
+ m.pos.exists && !ctx.settings.YshowSuppressedErrors.value && {
22
var shouldHide = false
23
for (pos <- m.pos.start to m.pos.end) {
24
positions get (ctx.source, pos) match {
0 commit comments