Fix foreach on dotted reference.

This commit is contained in:
Wilson Snyder 2021-12-12 20:44:58 -05:00
parent f775feb7f0
commit 5e3016f34a
1 changed files with 0 additions and 1 deletions

View File

@ -1295,7 +1295,6 @@ class LinkDotFindVisitor final : public AstNVisitor {
AstNode* const warnp = nodep->arrayp() ? nodep->arrayp() : nodep; AstNode* const warnp = nodep->arrayp() ? nodep->arrayp() : nodep;
warnp->v3warn(E_UNSUPPORTED, warnp->v3warn(E_UNSUPPORTED,
"Unsupported (or syntax error): Foreach on this array's construct"); "Unsupported (or syntax error): Foreach on this array's construct");
nodep->dumpTree(cout, "-FIXME-us ");
VL_DO_DANGLING(nodep->unlinkFrBack()->deleteTree(), nodep); VL_DO_DANGLING(nodep->unlinkFrBack()->deleteTree(), nodep);
return; return;
} }