Fix removing extra width warnings after another error

This commit is contained in:
Wilson Snyder
2026-08-31 18:04:58 -04:00
parent be83d1393d
commit 1c2fa7234d
8 changed files with 34 additions and 14 deletions
+1
View File
@@ -1878,6 +1878,7 @@ void AstNode::dump(std::ostream& str) const {
} else { // V3Broken will throw an error
if (dtypep()) str << " %Error-dtype-exp=null,got=" << nodeAddr(dtypep());
}
if (fileline()->erroringOn()) str << " [ERRORING]";
if (name() != "") {
if (VN_IS(this, Const)) {
str << " " << name(); // Already quoted