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