[Git][ghc/ghc][wip/T26989] Weird fix: check me
Simon Peyton Jones pushed to branch wip/T26989 at Glasgow Haskell Compiler / GHC Commits: 21f61eae by Simon Peyton Jones at 2026-03-16T17:44:46+00:00 Weird fix: check me - - - - - 1 changed file: - compiler/GHC/Core/Rules.hs Changes: ===================================== compiler/GHC/Core/Rules.hs ===================================== @@ -731,8 +731,9 @@ matchRule _ ise is_active _ target_args rough_args , not (ruleCantMatch tpl_tops rough_args) , Just (bind_wrapper, matched_es) <- matchExprs ise tpl_vars tpl_args target_args = Just (bind_wrapper $ - mkLets [NonRec b e | (b,e) <- zip tpl_vars matched_es] $ - rhs ) +-- mkLets [NonRec b e | (b,e) <- zip tpl_vars matched_es] $ +-- rhs + mkLams tpl_vars rhs `mkApps` matched_es ) | otherwise = Nothing View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/21f61eaedbc837d8b736ea6b49f50d29... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/21f61eaedbc837d8b736ea6b49f50d29... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Simon Peyton Jones (@simonpj)