[Git][ghc/ghc][wip/T27737] Fix in-scope set violation
Simon Peyton Jones pushed to branch wip/T27737 at Glasgow Haskell Compiler / GHC Commits: 66b289eb by Simon Peyton Jones at 2026-10-05T22:53:00+01:00 Fix in-scope set violation - - - - - 1 changed file: - compiler/GHC/Core/SimpleOpt.hs Changes: ===================================== compiler/GHC/Core/SimpleOpt.hs ===================================== @@ -1716,7 +1716,7 @@ exprIsConApp_maybe ise@(ISE in_scope id_unf) expr subst_bndr (Left in_scope) bndr | bndr `elemInScopeSet` in_scope = subst_bndr1 (mkEmptySubst in_scope) bndr - | otherwise = (Left in_scope, bndr) + | otherwise = (Left (in_scope `extendInScopeSet` bndr), bndr) subst_bndr (Right subst) bndr = subst_bndr1 subst bndr subst_bndr1 subst bndr View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/66b289eb1c549eb96f88d7d697468b13... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/66b289eb1c549eb96f88d7d697468b13... 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
participants (1)
-
Simon Peyton Jones (@simonpj)