Fix sformatf internal error on initial automatics (#5423)

This commit is contained in:
Todd Strader
2024-08-30 19:35:47 -04:00
committed by GitHub
parent 9a307c4abd
commit 201e343795
4 changed files with 78 additions and 0 deletions
+1
View File
@@ -376,6 +376,7 @@ class LinkResolveVisitor final : public VNVisitor {
expectFormat(nodep, nodep->text(), nodep->exprsp(), true);
}
void visit(AstSFormatF* nodep) override {
if (nodep->user2SetOnce()) return;
iterateChildren(nodep);
// Cleanup old-school displays without format arguments
if (!nodep->hasFormat()) {