Merge pull request #21879 from owen-mc/shared/cfg/simpleleafnode

Shared CFG: update `simpleLeafNode` to exclude those with additional leaf nodes
This commit is contained in:
Owen Mansel-Chan
2026-05-21 14:58:04 +01:00
committed by GitHub

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, _)
}