From 98a5d295396b9ce0d42f0ef1f82bcdb4fc3b5be9 Mon Sep 17 00:00:00 2001 From: Hubert Plociniczak Date: Fri, 12 Mar 2010 15:21:25 +0000 Subject: do not set the type of the implementation metho... do not set the type of the implementation method to be the type of the original one as this is done properly in cloneSymbol. no review (already done by Martin) --- src/compiler/scala/tools/nsc/transform/AddInterfaces.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/compiler/scala/tools/nsc/transform/AddInterfaces.scala b/src/compiler/scala/tools/nsc/transform/AddInterfaces.scala index f55afdb2b0..8cfa3926a3 100644 --- a/src/compiler/scala/tools/nsc/transform/AddInterfaces.scala +++ b/src/compiler/scala/tools/nsc/transform/AddInterfaces.scala @@ -141,7 +141,7 @@ abstract class AddInterfaces extends InfoTransform { for (sym <- ifaceDecls.iterator) { if (isInterfaceMember(sym)) { if (needsImplMethod(sym)) { - val impl = sym.cloneSymbol(implClass).setInfo(sym.info).resetFlag(lateDEFERRED) + val impl = sym.cloneSymbol(implClass).resetFlag(lateDEFERRED) if (currentRun.compiles(implClass)) implMethodMap(sym) = impl decls enter impl sym setFlag lateDEFERRED -- cgit v1.2.3