Skip to content

Commit

Permalink
Change map to foreach
Browse files Browse the repository at this point in the history
  • Loading branch information
adkian-sifive committed Sep 14, 2022
1 parent dc172c8 commit c6902d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scala/chisel3/Printable.scala
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ object Printable {
}

message match {
case Some(x) => getData(x).map(_.requireVisible())
case Some(x) => getData(x).foreach(_.requireVisible())
case _ =>
}
}
Expand Down

0 comments on commit c6902d7

Please sign in to comment.