Skip to content

Commit 43ae825

Browse files
committed
Merge pull request scala#688 from scalamacros/topic/quickfix-09bf95675b
A quickfix for 09bf956
2 parents 2a94d78 + f105f13 commit 43ae825

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compiler/scala/tools/nsc/transform/AddInterfaces.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ abstract class AddInterfaces extends InfoTransform { self: Erasure =>
268268
val oldSyms = vparamss.flatten.map(_.symbol)
269269
val newSyms = impl.info.paramss.flatten
270270
assert(oldSyms.length == newSyms.length, (oldSyms, impl, impl.info))
271-
tree.substTreeSyms(oldSyms, newSyms)
271+
tree.substituteSymbols(oldSyms, newSyms)
272272
}
273273
new ChangeOwnerAndReturnTraverser(newTree.symbol, impl)(newTree setSymbol impl)
274274
}

0 commit comments

Comments
 (0)