diff --git a/src/V3Unknown.cpp b/src/V3Unknown.cpp index f00b9620b..e649c02cd 100644 --- a/src/V3Unknown.cpp +++ b/src/V3Unknown.cpp @@ -99,7 +99,8 @@ class UnknownVisitor final : public VNVisitor { AstNodeExpr* prep = nodep; // Scan back to put the condlvalue above all selects (IE top of the lvalue) - while (VN_IS(prep->backp(), NodeSel) || VN_IS(prep->backp(), Sel) || VN_IS(prep->backp(), StructSel)) { + while (VN_IS(prep->backp(), NodeSel) || VN_IS(prep->backp(), Sel) + || VN_IS(prep->backp(), StructSel)) { prep = VN_AS(prep->backp(), NodeExpr); } FileLine* const fl = nodep->fileline(); diff --git a/test_regress/t/t_struct_array_assignment_delayed.py b/test_regress/t/t_struct_array_assignment_delayed.py old mode 100644 new mode 100755