[Git][ghc/ghc][wip/T23576] Better debug message attempt 2

Jaro Reinders (@Noughtmare) gitlab at gitlab.haskell.org
Fri Jun 30 12:08:34 UTC 2023



Jaro Reinders pushed to branch wip/T23576 at Glasgow Haskell Compiler / GHC


Commits:
ef63ff1a by Jaro Reinders at 2023-06-30T14:08:27+02:00
Better debug message attempt 2

- - - - -


1 changed file:

- compiler/GHC/CmmToAsm/X86/CodeGen.hs


Changes:

=====================================
compiler/GHC/CmmToAsm/X86/CodeGen.hs
=====================================
@@ -613,7 +613,7 @@ iselExpr64 (CmmMachOp (MO_SS_Conv W32 W64) [expr]) = do
 iselExpr64 expr
    = do
       platform <- getPlatform
-      pprPanic "iselExpr64(i386)" (pdoc platform expr <+> text (show expr))
+      pprPanic "iselExpr64(i386)" (pdoc platform expr $+$ text (show expr))
 
 
 --------------------------------------------------------------------------------



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/ef63ff1a41938f5535450e765ddff314157f344c
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/20230630/893081ee/attachment.html>


More information about the ghc-commits mailing list