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 fdfa308 commit 43852bfCopy full SHA for 43852bf
compiler/src/dotty/tools/dotc/core/Symbols.scala
@@ -891,6 +891,7 @@ object Symbols {
891
}
892
893
@sharable val NoSymbol: Symbol = new Symbol(NoCoord, 0) {
894
+ override def owner(implicit ctx: Context): Symbol = throw new AssertionError("NoSymbol.owner")
895
override def associatedFile(implicit ctx: Context): AbstractFile = NoSource.file
896
override def recomputeDenot(lastd: SymDenotation)(implicit ctx: Context): SymDenotation = NoDenotation
897
0 commit comments