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.
2 parents 1e6350f + 43e0f22 commit ab88fbfCopy full SHA for ab88fbf
compiler/src/dotty/tools/dotc/reporting/Message.scala
@@ -125,7 +125,7 @@ object Message:
125
}
126
127
def addendum(cat: String, info: Type): String = info match {
128
- case bounds @ TypeBounds(lo, hi) if bounds ne TypeBounds.empty =>
+ case bounds @ TypeBounds(lo, hi) if !(bounds =:= TypeBounds.empty) =>
129
if (lo eq hi) i" which is an alias of $lo"
130
else i" with $cat ${boundsStr(bounds)}"
131
case _ =>
0 commit comments