Shared CFG: update simpleLeafNode to exclude those with additional nodes

This commit is contained in:
Owen Mansel-Chan
2026-05-21 13:29:58 +01:00
parent a84043b627
commit 19f93cd18b

View File

@@ -640,6 +640,7 @@ module Make0<LocationSig Location, AstSig<Location> Ast> {
Input1::cfgCachedStageRef() and
not exists(getChild(n, _)) and
not postOrInOrder(n) and
not additionalNode(n, _, _) and
not inConditionalContext(n, _)
}