recursion-ninja pushed to branch wip/fix-26670 at Glasgow Haskell Compiler / GHC
Commits:
777c7011 by recursion-ninja at 2025-12-18T13:14:09+00:00
Apply 3 suggestion(s) to 3 file(s)
Co-authored-by: Rodrigo Mesquita
- - - - -
3 changed files:
- compiler/GHC/Types/Arity.hs
- compiler/GHC/Types/InlinePragma.hs
- compiler/GHC/Utils/Outputable.hs
Changes:
=====================================
compiler/GHC/Types/Arity.hs
=====================================
@@ -2,16 +2,6 @@
(c) The University of Glasgow 2006
(c) The GRASP/AQUA Project, Glasgow University, 1997-1998
-\section[BasicTypes]{Miscellaneous types}
-
-This module defines a miscellaneously collection of very simple
-types that
-
-\begin{itemize}
-\item have no other obvious home
-\item don't depend on any other complicated types
-\item are used in more than one "part" of the compiler
-\end{itemize}
-}
module GHC.Types.Arity
=====================================
compiler/GHC/Types/InlinePragma.hs
=====================================
@@ -4,17 +4,6 @@
{-
(c) The University of Glasgow 2006
(c) The GRASP/AQUA Project, Glasgow University, 1997-1998
-
-\section[BasicTypes]{Miscellaneous types}
-
-This module defines a miscellaneously collection of very simple
-types that
-
-\begin{itemize}
-\item have no other obvious home
-\item don't depend on any other complicated types
-\item are used in more than one "part" of the compiler
-\end{itemize}
-}
{-# OPTIONS_GHC -Wno-orphans #-} -- Binary InlinePragmaGhcTag, Binary InlinePragma
=====================================
compiler/GHC/Utils/Outputable.hs
=====================================
@@ -2025,7 +2025,7 @@ pprInlineDebug = pprInline' False
pprInline' :: Bool -- True <=> do not display the inl_inline field
-> InlinePragma (GhcPass p)
-> SDoc
-pprInline' _ (XInlinePragma _) = text "XInlinePragma <UNKNOWN>"
+pprInline' _ (XInlinePragma ext) = dataConCantHappen ext
pprInline' emptyInline (InlinePragma
{ inl_inline = inline,
inl_act = activation,
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/777c70113ecb1034552e3aa57e32e918...
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/777c70113ecb1034552e3aa57e32e918...
You're receiving this email because of your account on gitlab.haskell.org.