Skip to content

Commit 0258859

Browse files
committed
Small format fix
1 parent 4d6c29f commit 0258859

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler/src/dotty/tools/dotc/core/Denotations.scala

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,10 +1194,10 @@ object Denotations {
11941194
val owner = prefix.disambiguate(_.info.isParameterless)
11951195
def isPackageFromCoreLibMissing: Boolean = {
11961196
owner.symbol == defn.RootClass &&
1197-
{
1197+
(
11981198
selector == nme.scala_ || // if the scala package is missing, the stdlib must be missing
11991199
selector == nme.scalaShadowing // if the scalaShadowing package is missing, the dotty library must be missing
1200-
}
1200+
)
12011201
}
12021202
if (owner.exists) {
12031203
val result = if (isPackage) owner.info.decl(selector) else owner.info.member(selector)

0 commit comments

Comments
 (0)