From 498414819f9fb95d85d6de05864ac998374e7e52 Mon Sep 17 00:00:00 2001 From: Albert Magyar Date: Tue, 3 Mar 2020 08:11:42 -0800 Subject: Fix error message for NegWidthException (#1418) --- src/main/scala/firrtl/passes/Checks.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/main/scala/firrtl/passes/Checks.scala b/src/main/scala/firrtl/passes/Checks.scala index 06a3368b..934aaed3 100644 --- a/src/main/scala/firrtl/passes/Checks.scala +++ b/src/main/scala/firrtl/passes/Checks.scala @@ -39,7 +39,7 @@ trait CheckHighFormLike { class IncorrectNumConstsException(info: Info, mname: String, op: String, n: Int) extends PassException( s"$info: [module $mname] Primop $op requires $n integer arguments.") class NegWidthException(info: Info, mname: String) extends PassException( - s"$info: [module $mname] Width cannot be negative or zero.") + s"$info: [module $mname] Width cannot be negative.") class NegVecSizeException(info: Info, mname: String) extends PassException( s"$info: [module $mname] Vector type size cannot be negative.") class NegMemSizeException(info: Info, mname: String) extends PassException( -- cgit v1.2.3