[Git][ghc/ghc][wip/T26548] Tiny fix for #26722
Simon Peyton Jones pushed to branch wip/T26548 at Glasgow Haskell Compiler / GHC Commits: c16933a6 by Simon Peyton Jones at 2026-01-06T00:00:50+00:00 Tiny fix for #26722 This needs some serious documentation, but it fixes the bug! - - - - - 1 changed file: - compiler/GHC/Core/Utils.hs Changes: ===================================== compiler/GHC/Core/Utils.hs ===================================== @@ -3005,7 +3005,7 @@ So there is no benefit. -- See Note [Which Ids should be strictified] -- See Note [CBV Function Ids] for more background. shouldStrictifyIdForCbv :: Var -> Bool -shouldStrictifyIdForCbv = wantCbvForId False +shouldStrictifyIdForCbv = wantCbvForId True -- False -- Like shouldStrictifyIdForCbv but also wants to use cbv for strict args. shouldUseCbvForId :: Var -> Bool View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c16933a6b8bf159dd05676b07ab48e34... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/c16933a6b8bf159dd05676b07ab48e34... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Simon Peyton Jones (@simonpj)