mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Fix removing extra width warnings after another error
This commit is contained in:
@@ -157,7 +157,7 @@ class LinkResolveVisitor final : public VNVisitor {
|
||||
UINFO(7, "letSubstitute() " << nodep << " <- " << letp);
|
||||
if (letp->user2()) {
|
||||
nodep->v3error("Recursive let substitution " << letp->prettyNameQ());
|
||||
nodep->replaceWith(new AstConst{nodep->fileline(), AstConst::BitFalse{}});
|
||||
nodep->replaceWith(new AstConst{nodep->fileline(), AstConst::BitFalseErroring{}});
|
||||
VL_DO_DANGLING(pushDeletep(nodep), nodep);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user