From e51237b7cc9ff6185d241c676091d985ea557033 Mon Sep 17 00:00:00 2001 From: Martin Odersky Date: Tue, 19 Sep 2006 10:55:42 +0000 Subject: fixed bug741 --- src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala b/src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala index 44c53a31be..3412d04b2c 100644 --- a/src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala +++ b/src/compiler/scala/tools/nsc/transform/ExplicitOuter.scala @@ -99,7 +99,10 @@ abstract class ExplicitOuter extends InfoTransform with TransMatcher with Patter val mixinOuterAcc: Symbol = atPhase(phase.next)(outerAccessor(mc)) if (mixinOuterAcc != NoSymbol) { if (decls1 eq decls) decls1 = newScope(decls.toList) - decls1 enter (mixinOuterAcc.cloneSymbol(clazz) resetFlag DEFERRED) + decls1 enter ( + mixinOuterAcc.cloneSymbol(clazz) + .setInfo(clazz.thisType.memberType(mixinOuterAcc)) + .resetFlag(DEFERRED)) } } } -- cgit v1.2.3