Skip to content

Commit

Permalink
Fix vertex type for forwardParent reference
Browse files Browse the repository at this point in the history
  • Loading branch information
krame505 committed Oct 1, 2024
1 parent 478540b commit f0002ad
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions grammars/silver/compiler/definition/flow/env/Expr.sv
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,11 @@ top::Expr ::= 'forwardParent'
production refSet::Maybe<[String]> = getMaxRefSet(top.finalType, top.env);
top.flowDeps <-
if top.finalType.isDecorated
then map(forwardVertexType.inhVertex, fromMaybe([], refSet))
then map(forwardParentVertexType().inhVertex, fromMaybe([], refSet))
else [];
top.flowVertexInfo =
if top.finalType.isDecorated
then just(forwardVertexType)
then just(forwardParentVertexType())
else nothing();
}

Expand Down

0 comments on commit f0002ad

Please sign in to comment.