[Git][ghc/ghc][wip/T23162-part2] Eliminate unused variable
Simon Peyton Jones pushed to branch wip/T23162-part2 at Glasgow Haskell Compiler / GHC Commits: 369e35de by Simon Peyton Jones at 2025-12-08T15:06:49+00:00 Eliminate unused variable - - - - - 1 changed file: - compiler/GHC/Tc/Errors.hs Changes: ===================================== compiler/GHC/Tc/Errors.hs ===================================== @@ -2295,7 +2295,7 @@ mkQCErr ctxt items mkDictErr :: HasDebugCallStack => SolverReportErrCtxt -> NonEmpty ErrorItem -> TcM SolverReport -- Includes implict parameters mkDictErr ctxt orig_items@(item1 :| others) - | ClassPred cls tys <- classifyPredType (errorItemPred item1) + | ClassPred cls _ <- classifyPredType (errorItemPred item1) , isIPClass cls -- Implicit parameters; no need to look in global instance envts = do { (ctxt, binds, item1) <- relevantBindings True ctxt item1 ; let msg = important ctxt $ UnboundImplicitParams (item1 :| others) View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/369e35de78fcca56aa5802e74a2dc114... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/369e35de78fcca56aa5802e74a2dc114... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Simon Peyton Jones (@simonpj)