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 2f6fa4a commit 0dae83eCopy full SHA for 0dae83e
compiler/src/dotty/tools/dotc/core/SymbolLoaders.scala
@@ -187,7 +187,7 @@ object SymbolLoaders {
187
*/
188
def binaryOnly(owner: Symbol, name: TermName)(using Context): Boolean =
189
name == nme.PACKAGEkw &&
190
- (owner.fullName.toString == "scala" || owner.fullName.toString == "scala.reflect")
+ (owner.name == nme.scala || owner.name == nme.reflect && owner.owner.name == nme.scala)
191
192
/** Initialize toplevel class and module symbols in `owner` from class path representation `classRep`
193
0 commit comments