[Git][ghc/ghc][wip/T25281] Tracing

Simon Peyton Jones (@simonpj) gitlab at gitlab.haskell.org
Mon Sep 30 16:45:26 UTC 2024



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


Commits:
40216c67 by Simon Peyton Jones at 2024-09-30T17:45:15+01:00
Tracing

- - - - -


1 changed file:

- compiler/GHC/HsToCore/Pmc.hs


Changes:

=====================================
compiler/GHC/HsToCore/Pmc.hs
=====================================
@@ -408,6 +408,7 @@ pmcRecSel sel_id arg
        unc_examples <- getNFirstUncovered MinimalCover [arg_id] (maxPatterns + 1) uncov_nablas
        let cons = [con | unc_example <- unc_examples
                  , Just (PACA (PmAltConLike con) _ _) <- [lookupSolution unc_example arg_id]]
+       tracePm "unc-ex" (ppr cons $$ ppr unc_examples)
        diagnosticDs $ DsIncompleteRecordSelector sel_name cons maxPatterns
 
 



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

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/40216c67a5c816765b9c0f2fe102ee72846427a4
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/20240930/2ca8cf89/attachment.html>


More information about the ghc-commits mailing list