Skip to content

Commit 1a9d594

Browse files
committed
Fix comment
1 parent ca096d9 commit 1a9d594

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

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

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -233,9 +233,7 @@ object Names {
233233
}
234234
}
235235

236-
/** Is it impossible that trees of kind `kind` qualify as
237-
* derived trees of kind `shadowed`?
238-
*/
236+
/** Is it impossible that names of kind `kind` also qualify as names of kind `shadowed`? */
239237
private def shadows(kind: NameKind, shadowed: NameKind): Boolean =
240238
kind.tag < shadowed.tag ||
241239
kind.definesQualifiedName ||

0 commit comments

Comments
 (0)