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 ca096d9 commit 1a9d594Copy full SHA for 1a9d594
compiler/src/dotty/tools/dotc/core/Names.scala
@@ -233,9 +233,7 @@ object Names {
233
}
234
235
236
- /** Is it impossible that trees of kind `kind` qualify as
237
- * derived trees of kind `shadowed`?
238
- */
+ /** Is it impossible that names of kind `kind` also qualify as names of kind `shadowed`? */
239
private def shadows(kind: NameKind, shadowed: NameKind): Boolean =
240
kind.tag < shadowed.tag ||
241
kind.definesQualifiedName ||
0 commit comments