Skip to content

Commit a321a98

Browse files
committed
Fix documentation
1 parent ab101bc commit a321a98

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

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

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1823,10 +1823,9 @@ object SymDenotations {
18231823
/** Looks in both the package object and the package for members. The precise algorithm
18241824
* is as follows:
18251825
*
1826-
* If this is the scala package or the package object exists but is currently completing,
1827-
* look in the package first, and if nothing is found there, look in the package object second.
1828-
* Otherwise, look in the package object first, and if nothing is found there, in
1829-
* the package second.
1826+
* If this is the scala package look in the package first, and if nothing is found
1827+
* there, look in the package object second. Otherwise, look in the package object
1828+
* first, and if nothing is found there, in the package second.
18301829
*
18311830
* The reason for the special treatment of the scala package is that if we
18321831
* complete it too early, we freeze its superclass Any, so that no members can

0 commit comments

Comments
 (0)