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 c32f5a9 commit 43e0f22Copy full SHA for 43e0f22
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