Skip to content

Commit 0147c73

Browse files
committed
Fix typo
1 parent aa6f0e4 commit 0147c73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/scala/tools/nsc/typechecker/Namers.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@ trait Namers extends MethodSynthesis {
584584
// more than one hidden name, the second will not be warned.
585585
// So it is the position of the actual hidden name.
586586
//
587-
// Note: java imports have precence over definitions in the same package
587+
// Note: java imports have precedence over definitions in the same package
588588
// so don't warn for them. There is a corresponding special treatment
589589
// in the shadowing rules in typedIdent to (SI-7232). In any case,
590590
// we shouldn't be emitting warnings for .java source files.

0 commit comments

Comments
 (0)