fix: update the recducer in phases to account for node-specific reducing
ref: N25B-408
This commit is contained in:
@@ -96,7 +96,7 @@ export function PhaseReduce(node: Node, nodes: Node[]) {
|
||||
console.warn(`No reducer found for node type ${type}`);
|
||||
result[type + "s"] = [];
|
||||
} else {
|
||||
result[type + "s"] = typedChildren.map((child) => reducer(child, nodes));
|
||||
result[type + "s"] = typedChildren.map((child) => reducer(child as any, nodes));
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user