summaryrefslogtreecommitdiff
path: root/src/compiler/scala/tools/nsc/transform/AddInterfaces.scala
diff options
context:
space:
mode:
authorHubert Plociniczak <hubert.plociniczak@epfl.ch>2010-03-12 15:21:25 +0000
committerHubert Plociniczak <hubert.plociniczak@epfl.ch>2010-03-12 15:21:25 +0000
commit98a5d295396b9ce0d42f0ef1f82bcdb4fc3b5be9 (patch)
tree42c1c16aaf8a725012398cad13693f78b1d9b695 /src/compiler/scala/tools/nsc/transform/AddInterfaces.scala
parent1c4651b9b1da3ecfff1813bfd87b99a6023289fa (diff)
downloadscala-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/compiler/scala/tools/nsc/transform/AddInterfaces.scala')
-rw-r--r--src/compiler/scala/tools/nsc/transform/AddInterfaces.scala2
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