[Git][ghc/ghc][wip/TTG-No-Orphans] Apply 1 suggestion(s) to 1 file(s)
recursion-ninja pushed to branch wip/TTG-No-Orphans at Glasgow Haskell Compiler / GHC Commits: 66c9e3b4 by recursion-ninja at 2026-07-20T14:49:30+00:00 Apply 1 suggestion(s) to 1 file(s) Co-authored-by: Rodrigo Mesquita <rodrigo.m.mesquita@gmail.com> - - - - - 1 changed file: - compiler/Language/Haskell/Syntax/Decls/Foreign.hs Changes: ===================================== compiler/Language/Haskell/Syntax/Decls/Foreign.hs ===================================== @@ -213,7 +213,7 @@ data CCallTarget pass instance (NFData (XStaticTarget pass), NFData (XDynamicTarget pass), NFData (XXCCallTarget pass)) => NFData (CCallTarget pass) where - rnf (StaticTarget x a b) = rnf a `seq` rnf b `seq` rnf x -- 'x' is forced last to match "legacy" GHC semantics + rnf (StaticTarget x a b) = rnf a `seq` rnf b `seq` rnf x rnf (DynamicTarget x) = rnf x rnf (XCCallTarget x) = rnf x View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/66c9e3b424b69ed7fc16b6ca4a41df15... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/66c9e3b424b69ed7fc16b6ca4a41df15... 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)
-
recursion-ninja (@recursion-ninja)