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 aa6f0e4 commit 0147c73Copy full SHA for 0147c73
src/compiler/scala/tools/nsc/typechecker/Namers.scala
@@ -584,7 +584,7 @@ trait Namers extends MethodSynthesis {
584
// more than one hidden name, the second will not be warned.
585
// So it is the position of the actual hidden name.
586
//
587
- // Note: java imports have precence over definitions in the same package
+ // Note: java imports have precedence over definitions in the same package
588
// so don't warn for them. There is a corresponding special treatment
589
// in the shadowing rules in typedIdent to (SI-7232). In any case,
590
// we shouldn't be emitting warnings for .java source files.
0 commit comments