[Git][ghc/ghc][wip/T25281] Try again

Simon Peyton Jones (@simonpj) gitlab at gitlab.haskell.org
Mon Oct 7 14:54:36 UTC 2024



Simon Peyton Jones pushed to branch wip/T25281 at Glasgow Haskell Compiler / GHC


Commits:
9b876dea by Simon Peyton Jones at 2024-10-07T15:54:13+01:00
Try again

- - - - -


1 changed file:

- compiler/GHC/Runtime/Heap/Inspect.hs


Changes:

=====================================
compiler/GHC/Runtime/Heap/Inspect.hs
=====================================
@@ -1,11 +1,15 @@
-{- # OPTIONS_GHC -Wwarn=incomplete-record-selectors # -}
---     Boo.  The bootstrap compiler falls over on this
+{-# LANGUAGE MagicHash #-}
+
+{-# LANGUAGE CPP #-}
+
+#if __GLASGOW_HASKELL__ > 912
+{-# OPTIONS_GHC -Wwarn=incomplete-record-selectors #-}
 -- This module has a bunch of uses of incomplete record selectors
 -- and it is FAR from obvious that they won't cause crashes.
 -- But I don't want them to kill CI, so the above flag turns
 -- them into warnings
+#endif
 
-{-# LANGUAGE MagicHash #-}
 
 -----------------------------------------------------------------------------
 --



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9b876dea2f738bfda6e54dbad885f218f24f8673

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/9b876dea2f738bfda6e54dbad885f218f24f8673
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20241007/90b67554/attachment.html>


More information about the ghc-commits mailing list