Skip to content

Commit

Permalink
hotfix on instantiation context
Browse files Browse the repository at this point in the history
  • Loading branch information
sylefeb committed Jan 14, 2024
1 parent d6eb53b commit f9300aa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Algorithm.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6138,8 +6138,8 @@ void Algorithm::determineBlueprintBoundVIO(const t_instantiation_context& ictx)
reportError(b.srcloc, "vio '%s' is already bound as the output of another instance", bindingRightIdentifier(b).c_str());
}
// check width if it is an access
auto access = std::get<siliceParser::AccessContext*>(b.right);
if (access) {
if (std::holds_alternative<siliceParser::AccessContext*>(b.right)) {
auto access = std::get<siliceParser::AccessContext*>(b.right);
// produce instantiation context
t_instantiation_context local_ictx;
makeBlueprintInstantiationContext(ib.second, ictx, local_ictx);
Expand Down

0 comments on commit f9300aa

Please sign in to comment.