Skip to content

Commit db1c250

Browse files
committed
Remove copy method from IR
1 parent cbcd241 commit db1c250

File tree

1 file changed

+0
-13
lines changed
  • core/src/main/scala/chisel3/internal/firrtl

1 file changed

+0
-13
lines changed

core/src/main/scala/chisel3/internal/firrtl/IR.scala

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -543,19 +543,6 @@ private[chisel3] object ir {
543543
annotations.flatMap(_.toFirrtl.update(renames)) ++ newAnnotations.flatMap(
544544
_.toFirrtl.flatMap(_.update(renames))
545545
)
546-
547-
// TODO this method doesn't compile with Scala3 because it
548-
// conflicts with the built-in `copy` method
549-
def copy(
550-
name: String = name,
551-
components: Seq[Component] = components,
552-
annotations: Seq[ChiselAnnotation] = annotations,
553-
renames: RenameMap = renames,
554-
typeAliases: Seq[DefTypeAlias] = typeAliases,
555-
layers: Seq[Layer] = layers,
556-
options: Seq[DefOption] = options
557-
) = Circuit(name, components, annotations, renames, newAnnotations, typeAliases, layers, options)
558-
559546
}
560547

561548
object Circuit

0 commit comments

Comments
 (0)