[Git][ghc/ghc][wip/romes/ttg-zurich] AST: Remove Assert from GHC

Rodrigo Mesquita (@alt-romes) gitlab at gitlab.haskell.org
Sun Jun 9 09:57:16 UTC 2024



Rodrigo Mesquita pushed to branch wip/romes/ttg-zurich at Glasgow Haskell Compiler / GHC


Commits:
eb469d18 by Mauricio at 2024-06-09T11:57:01+02:00
AST: Remove Assert from GHC

- - - - -


1 changed file:

- compiler/Language/Haskell/Syntax/Decls.hs


Changes:

=====================================
compiler/Language/Haskell/Syntax/Decls.hs
=====================================
@@ -106,11 +106,11 @@ import GHC.Types.Fixity (LexicalFixity)
 
 import GHC.Core.Type (Specificity)
 import GHC.Unit.Module.Warnings (WarningTxt)
-import GHC.Utils.Panic.Plain ( assert )
 
 import GHC.Hs.Doc (LHsDoc) -- ROMES:TODO Discuss in #21592 whether this is parsed AST or base AST
 
 import Control.Monad
+import Control.Exception (assert)
 import Data.Data        hiding (TyCon, Fixity, Infix)
 import Data.Void
 import Data.Maybe



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/eb469d18310f338bc92365cc43b6943d05e76eed
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/20240609/19ed86ee/attachment.html>


More information about the ghc-commits mailing list