From f0002aded42ef83889b783bcd5fcc5e72a39778a Mon Sep 17 00:00:00 2001 From: Lucas Kramer Date: Mon, 30 Sep 2024 20:33:25 -0500 Subject: [PATCH] Fix vertex type for forwardParent reference --- grammars/silver/compiler/definition/flow/env/Expr.sv | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/grammars/silver/compiler/definition/flow/env/Expr.sv b/grammars/silver/compiler/definition/flow/env/Expr.sv index 8ffa1c11d..8e9ee3ef3 100644 --- a/grammars/silver/compiler/definition/flow/env/Expr.sv +++ b/grammars/silver/compiler/definition/flow/env/Expr.sv @@ -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(); }