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 4d6c29f commit 0258859Copy full SHA for 0258859
compiler/src/dotty/tools/dotc/core/Denotations.scala
@@ -1194,10 +1194,10 @@ object Denotations {
1194
val owner = prefix.disambiguate(_.info.isParameterless)
1195
def isPackageFromCoreLibMissing: Boolean = {
1196
owner.symbol == defn.RootClass &&
1197
- {
+ (
1198
selector == nme.scala_ || // if the scala package is missing, the stdlib must be missing
1199
selector == nme.scalaShadowing // if the scalaShadowing package is missing, the dotty library must be missing
1200
- }
+ )
1201
}
1202
if (owner.exists) {
1203
val result = if (isPackage) owner.info.decl(selector) else owner.info.member(selector)
0 commit comments