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 aafd56e commit 83cfad9Copy full SHA for 83cfad9
compiler/src/dotty/tools/dotc/core/TypeComparer.scala
@@ -2107,7 +2107,7 @@ class TrackingTypeComparer(initctx: Context) extends TypeComparer(initctx) {
2107
}
2108
2109
override def gadtBounds(sym: Symbol)(implicit ctx: Context): TypeBounds = {
2110
- if (sym eq NoSymbol) null
+ if (!sym.exists) null
2111
else {
2112
footprint += sym.typeRef
2113
super.gadtBounds(sym)
0 commit comments