diff options
Diffstat (limited to 'compiler/src/dotty/tools/dotc')
-rw-r--r-- | compiler/src/dotty/tools/dotc/core/SymDenotations.scala | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/compiler/src/dotty/tools/dotc/core/SymDenotations.scala b/compiler/src/dotty/tools/dotc/core/SymDenotations.scala index d75cf2cd3..6d1a006ed 100644 --- a/compiler/src/dotty/tools/dotc/core/SymDenotations.scala +++ b/compiler/src/dotty/tools/dotc/core/SymDenotations.scala @@ -1823,10 +1823,9 @@ object SymDenotations { /** Looks in both the package object and the package for members. The precise algorithm * is as follows: * - * If this is the scala package or the package object exists but is currently completing, - * look in the package first, and if nothing is found there, look in the package object second. - * Otherwise, look in the package object first, and if nothing is found there, in - * the package second. + * If this is the scala package look in the package first, and if nothing is found + * there, look in the package object second. Otherwise, look in the package object + * first, and if nothing is found there, in the package second. * * The reason for the special treatment of the scala package is that if we * complete it too early, we freeze its superclass Any, so that no members can |