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 4c2d5d8 commit bff12beCopy full SHA for bff12be
compiler/src/dotty/tools/dotc/reporting/Message.scala
@@ -145,7 +145,7 @@ object Message:
145
}
146
147
def addendum(cat: String, info: Type): String = info match {
148
- case bounds @ TypeBounds(lo, hi) if !(bounds =:= TypeBounds.empty) && !lo.isErroneous && !hi.isErroneous =>
+ case bounds @ TypeBounds(lo, hi) if !(bounds =:= TypeBounds.empty) && !bounds.isErroneous =>
149
if (lo eq hi) i" which is an alias of $lo"
150
else i" with $cat ${boundsStr(bounds)}"
151
case _ =>
0 commit comments