diff options
author | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2010-03-12 15:21:25 +0000 |
---|---|---|
committer | Hubert Plociniczak <hubert.plociniczak@epfl.ch> | 2010-03-12 15:21:25 +0000 |
commit | 98a5d295396b9ce0d42f0ef1f82bcdb4fc3b5be9 (patch) | |
tree | 42c1c16aaf8a725012398cad13693f78b1d9b695 /src | |
parent | 1c4651b9b1da3ecfff1813bfd87b99a6023289fa (diff) | |
download | scala-98a5d295396b9ce0d42f0ef1f82bcdb4fc3b5be9.tar.gz scala-98a5d295396b9ce0d42f0ef1f82bcdb4fc3b5be9.tar.bz2 scala-98a5d295396b9ce0d42f0ef1f82bcdb4fc3b5be9.zip |
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)
Diffstat (limited to 'src')
-rw-r--r-- | src/compiler/scala/tools/nsc/transform/AddInterfaces.scala | 2 |
1 files changed, 1 insertions, 1 deletions
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 |