Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.

Commit

Permalink
Fix CheckWidths error message for uninferred width (backport #2196) (#…
Browse files Browse the repository at this point in the history
…2197)

* Fix CheckWidths error message for uninferred width (#2196)

Looks like a typo/auto-merge hiccup.

(cherry picked from commit adc2ad9)

# Conflicts:
#	src/main/scala/firrtl/passes/CheckWidths.scala

* fixup! Fix CheckWidths error message for uninferred width (#2196)

Co-authored-by: Fabian Schuiki <[email protected]>
Co-authored-by: Schuyler Eldridge <[email protected]>
  • Loading branch information
3 people authored Apr 22, 2021
1 parent 2346100 commit 0484cfb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/scala/firrtl/passes/CheckWidths.scala
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ object CheckWidths extends Pass with PreservesAll[Transform] {
val MaxWidth = 1000000
val DshlMaxWidth = getUIntWidth(MaxWidth)
class UninferredWidth (info: Info, target: String) extends PassException(
s"""|$info : Uninferred width for target below.serialize}. (Did you forget to assign to it?)
s"""|$info : Uninferred width for target below}. (Did you forget to assign to it?)
|$target""".stripMargin)
class UninferredBound (info: Info, target: String, bound: String) extends PassException(
s"""|$info : Uninferred $bound bound for target. (Did you forget to assign to it?)
Expand Down

0 comments on commit 0484cfb

Please sign in to comment.