Fix instability after disable iff error.

This commit is contained in:
Wilson Snyder
2022-11-10 22:09:24 -05:00
parent fbf2e59c85
commit 528a73a492
2 changed files with 2 additions and 3 deletions
+1
View File
@@ -109,6 +109,7 @@ private:
if (nodep->disablep() && propExprp->disablep()) {
nodep->v3error("disable iff expression before property call and in its "
"body is not legal");
pushDeletep(propExprp->disablep()->unlinkFrBack());
}
// If disable iff is in outer property, move it to inner
if (nodep->disablep()) {