Simon Peyton Jones pushed to branch wip/T27629 at Glasgow Haskell Compiler / GHC Commits: b91b6277 by Simon Peyton Jones at 2026-09-02T18:55:23+01:00 wibble - - - - - 1 changed file: - compiler/GHC/Core/Opt/Specialise.hs Changes: ===================================== compiler/GHC/Core/Opt/Specialise.hs ===================================== @@ -2612,7 +2612,7 @@ specHeader subst (bndr:bndrs) (SpecDict dict_arg : args) exprSomeFreeVars (not . (`elemInScopeSet` substInScopeSet subst)) dict_arg = -- Do not specialise if `dict_arg` has any any free vars that are /not/ in scope -- See Note [Weird special case for SpecDict] - specHeader mod subst (bndr:bndrs) (UnspecArg : args) + specHeader subst (bndr:bndrs) (UnspecArg : args) | otherwise = do { -- Make up a fresh binder to use in the RULE View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b91b6277341d378a19e56557f99a17fa... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/b91b6277341d378a19e56557f99a17fa... You're receiving this email because of your account on gitlab.haskell.org. Manage all notifications: https://gitlab.haskell.org/-/profile/notifications | Help: https://gitlab.haskell.org/help