summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 8c5d25e6c4..822c819e7d 100644
--- a/src/compiler/scala/tools/nsc/transform/AddInterfaces.scala
+++ b/src/compiler/scala/tools/nsc/transform/AddInterfaces.scala
@@ -268,7 +268,7 @@ abstract class AddInterfaces extends InfoTransform { self: Erasure =>
val oldSyms = vparamss.flatten.map(_.symbol)
val newSyms = impl.info.paramss.flatten
assert(oldSyms.length == newSyms.length, (oldSyms, impl, impl.info))
- tree.substTreeSyms(oldSyms, newSyms)
+ tree.substituteSymbols(oldSyms, newSyms)
}
new ChangeOwnerAndReturnTraverser(newTree.symbol, impl)(newTree setSymbol impl)
}