diff options
author | Paul Phillips <paulp@improving.org> | 2010-03-04 20:18:41 +0000 |
---|---|---|
committer | Paul Phillips <paulp@improving.org> | 2010-03-04 20:18:41 +0000 |
commit | cb39da4caff8ff3c2f085d8913507cb205ae7f7b (patch) | |
tree | fbc02dc1d737fcd82eb4651bd370b2b8b43229ab /src/compiler/scala/tools/nsc/typechecker/Contexts.scala | |
parent | f9c2792695a80e6a20414bc2008bc33bcb9d8cc9 (diff) | |
download | scala-cb39da4caff8ff3c2f085d8913507cb205ae7f7b.tar.gz scala-cb39da4caff8ff3c2f085d8913507cb205ae7f7b.tar.bz2 scala-cb39da4caff8ff3c2f085d8913507cb205ae7f7b.zip |
Renamed the linkedFooOfBar methods in Symbol to...
Renamed the linkedFooOfBar methods in Symbol to be internally consistent
and in line with modern nomenclature. No review.
Diffstat (limited to 'src/compiler/scala/tools/nsc/typechecker/Contexts.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/typechecker/Contexts.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/scala/tools/nsc/typechecker/Contexts.scala b/src/compiler/scala/tools/nsc/typechecker/Contexts.scala index 614879b137..e6c6d8a4a3 100644 --- a/src/compiler/scala/tools/nsc/typechecker/Contexts.scala +++ b/src/compiler/scala/tools/nsc/typechecker/Contexts.scala @@ -332,7 +332,7 @@ trait Contexts { self: Analyzer => var c = this.enclClass while (c != NoContext && !clazz.isNonBottomSubClass(c.owner) && - !(c.owner.isModuleClass && clazz.isNonBottomSubClass(c.owner.linkedClassOfModule))) + !(c.owner.isModuleClass && clazz.isNonBottomSubClass(c.owner.companionClass))) c = c.outer.enclClass c } |