diff --git a/src/V3Width.cpp b/src/V3Width.cpp index 8f67dc53a..8ddf5b471 100644 --- a/src/V3Width.cpp +++ b/src/V3Width.cpp @@ -3581,8 +3581,7 @@ private: // don't clean up types which may not be in the type table // we're going to remove this whole sub-tree anyway m_leaveTypeof = true; - userIterateAndNext(nodep->lhsp(), WidthVP(CONTEXT, PRELIM).p()); - userIterateAndNext(nodep->rhsp(), WidthVP(CONTEXT, PRELIM).p()); + userIterateChildren(nodep, WidthVP(CONTEXT, PRELIM).p()); m_leaveTypeof = false; bool equal = false; // TODO -- remove