Skip to content

Commit

Permalink
Fix bug in resolving defparams inside generate loops
Browse files Browse the repository at this point in the history
  • Loading branch information
MikePopoloski committed Aug 11, 2024
1 parent 91ef0ea commit 8174a94
Show file tree
Hide file tree
Showing 5 changed files with 604 additions and 561 deletions.
2 changes: 1 addition & 1 deletion source/ast/ElabVisitors.h
Original file line number Diff line number Diff line change
Expand Up @@ -554,7 +554,7 @@ struct DefParamVisitor : public ASTVisitor<DefParamVisitor, false, false> {
for (auto& member : symbol.members()) {
if (hierarchyProblem)
return;
visit(member);
member.visit(*this);
}
}

Expand Down
1 change: 1 addition & 0 deletions tests/unittests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ add_executable(
ast/ParameterTests.cpp
ast/PortTests.cpp
ast/PrimitiveTests.cpp
ast/SerializerTests.cpp
ast/StatementTests.cpp
ast/SubroutineTests.cpp
ast/SystemFuncTests.cpp
Expand Down
Loading

0 comments on commit 8174a94

Please sign in to comment.