From 0484cfbd1aaec90f06a06f9de69ff57a910ed54f Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Thu, 22 Apr 2021 14:40:48 +0000 Subject: [PATCH] Fix CheckWidths error message for uninferred width (backport #2196) (#2197) * Fix CheckWidths error message for uninferred width (#2196) Looks like a typo/auto-merge hiccup. (cherry picked from commit adc2ad9aaf2e760f2f138fd688b2b01604bb6b8f) # Conflicts: # src/main/scala/firrtl/passes/CheckWidths.scala * fixup! Fix CheckWidths error message for uninferred width (#2196) Co-authored-by: Fabian Schuiki Co-authored-by: Schuyler Eldridge --- src/main/scala/firrtl/passes/CheckWidths.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/scala/firrtl/passes/CheckWidths.scala b/src/main/scala/firrtl/passes/CheckWidths.scala index 4f1930c1c1..4ff86e6791 100644 --- a/src/main/scala/firrtl/passes/CheckWidths.scala +++ b/src/main/scala/firrtl/passes/CheckWidths.scala @@ -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?)