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 87a7430 commit ee17fc8Copy full SHA for ee17fc8
compiler/src/dotty/tools/dotc/core/Symbols.scala
@@ -369,7 +369,7 @@ object Symbols {
369
else
370
_self
371
372
- def exists(using Context): Boolean = _self.denot.exists
+ def exists(using Context): Boolean = _self ne NoSymbol
373
def owner(using Context): Symbol = _self.denot.owner
374
def typeParams(using Context): List[TypeSymbol] = _self.denot.typeParams
375
def thisType(using Context): Type = _self.denot.thisType
0 commit comments