diff --git a/src/V3Width.cpp b/src/V3Width.cpp index 5299a4e19..9545e5e43 100644 --- a/src/V3Width.cpp +++ b/src/V3Width.cpp @@ -4869,7 +4869,8 @@ class WidthVisitor final : public VNVisitor { " member not underneath a supported construct: " << nodep->backp()->prettyTypeName()); - if (nodep->backp() && (VN_IS(nodep->backp(), Eq) || VN_IS(nodep->backp(), Neq))) return; + if (nodep->backp() && (VN_IS(nodep->backp(), Eq) || VN_IS(nodep->backp(), Neq))) + return; nodep->replaceWith(new AstConst{nodep->fileline(), AstConst::BitFalse{}}); VL_DO_DANGLING(pushDeletep(nodep), nodep); return; diff --git a/test_regress/t/t_pattern_unsup_xor.py b/test_regress/t/t_pattern_unsup_xor.py old mode 100644 new mode 100755