aboutsummaryrefslogtreecommitdiff
path: root/src/main/scala/firrtl/RenameMap.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/scala/firrtl/RenameMap.scala')
-rw-r--r--src/main/scala/firrtl/RenameMap.scala6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main/scala/firrtl/RenameMap.scala b/src/main/scala/firrtl/RenameMap.scala
index 61f1d8f9..543fc1ad 100644
--- a/src/main/scala/firrtl/RenameMap.scala
+++ b/src/main/scala/firrtl/RenameMap.scala
@@ -97,9 +97,9 @@ final class RenameMap private (val underlying: mutable.HashMap[CompleteTarget, S
*/
def recordAll(map: collection.Map[CompleteTarget, Seq[CompleteTarget]]): Unit =
map.foreach{
- case (from: IsComponent, tos: Seq[IsMember]) => completeRename(from, tos)
- case (from: IsModule, tos: Seq[IsMember]) => completeRename(from, tos)
- case (from: CircuitTarget, tos: Seq[CircuitTarget]) => completeRename(from, tos)
+ case (from: IsComponent, tos: Seq[_]) => completeRename(from, tos)
+ case (from: IsModule, tos: Seq[_]) => completeRename(from, tos)
+ case (from: CircuitTarget, tos: Seq[_]) => completeRename(from, tos)
case other => Utils.throwInternalError(s"Illegal rename: ${other._1} -> ${other._2}")
}