diff options
author | Martin Odersky <odersky@gmail.com> | 2008-04-11 17:05:34 +0000 |
---|---|---|
committer | Martin Odersky <odersky@gmail.com> | 2008-04-11 17:05:34 +0000 |
commit | 551db35802532b66e15638213d7b0010efe95ab4 (patch) | |
tree | fc271e4e95077fdb508822010383b59acedb4a2d /src/compiler/scala/tools/nsc/transform/Mixin.scala | |
parent | 2fa3294cd903021db12cc93d9477318b128e68ba (diff) | |
download | scala-551db35802532b66e15638213d7b0010efe95ab4.tar.gz scala-551db35802532b66e15638213d7b0010efe95ab4.tar.bz2 scala-551db35802532b66e15638213d7b0010efe95ab4.zip |
(1) add devirtualization phase.
Diffstat (limited to 'src/compiler/scala/tools/nsc/transform/Mixin.scala')
-rw-r--r-- | src/compiler/scala/tools/nsc/transform/Mixin.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compiler/scala/tools/nsc/transform/Mixin.scala b/src/compiler/scala/tools/nsc/transform/Mixin.scala index 48ef18ff04..a0b66a6644 100644 --- a/src/compiler/scala/tools/nsc/transform/Mixin.scala +++ b/src/compiler/scala/tools/nsc/transform/Mixin.scala @@ -88,12 +88,12 @@ abstract class Mixin extends InfoTransform { /** Returns the symbol that is accessed by a super-accessor in a mixin composition. * - * @param base The class in mwhich everything is mixed together + * @param base The class in which everything is mixed together * @param member The symbol statically referred to by the superaccessor in the trait * @param mixinClass The mixin class that produced the superaccessor */ private def rebindSuper(base: Symbol, member: Symbol, mixinClass: Symbol): Symbol = - atPhase(currentRun.refchecksPhase) { + atPhase(currentRun.picklerPhase.next) { var bcs = base.info.baseClasses.dropWhile(mixinClass !=).tail var sym: Symbol = NoSymbol if (settings.debug.value) |