diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/transform/OverridingPairs.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/OverridingPairs.scala b/src/compiler/scala/tools/nsc/transform/OverridingPairs.scala index 2f80216dbe..fc3aaacaef 100644 --- a/src/compiler/scala/tools/nsc/transform/OverridingPairs.scala +++ b/src/compiler/scala/tools/nsc/transform/OverridingPairs.scala @@ -103,8 +103,8 @@ abstract class OverridingPairs { } while (nextEntry != null && ((nextEntry.sym hasFlag PRIVATE) || (overriding.owner == nextEntry.sym.owner) || - (hasCommonParent(overriding, nextEntry.sym)) || (!matches(overriding, nextEntry.sym)) || + (hasCommonParent(overriding, nextEntry.sym)) || (overriding hasFlag LOCAL))) } if (nextEntry != null) { |