[Git][ghc/ghc][wip/sjakobi/T27507] Infer EPT signatures for local functions