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 636db78 commit f3b15edCopy full SHA for f3b15ed
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