[Git][ghc/ghc][wip/int-index/unified-variable-namespace] Fix T18522-dbg-ppr
Vladislav Zavialov (@int-index)
gitlab at gitlab.haskell.org
Sat Nov 11 18:57:57 UTC 2023
Vladislav Zavialov pushed to branch wip/int-index/unified-variable-namespace at Glasgow Haskell Compiler / GHC
Commits:
285fa79a by Vladislav Zavialov at 2023-11-11T21:57:46+03:00
Fix T18522-dbg-ppr
- - - - -
1 changed file:
- testsuite/tests/ghc-api/T18522-dbg-ppr.hs
Changes:
=====================================
testsuite/tests/ghc-api/T18522-dbg-ppr.hs
=====================================
@@ -5,6 +5,7 @@ module Main where
import Language.Haskell.TH (runQ)
import GHC.Types.Basic
import GHC.Types.Error
+import GHC.Types.Name.Occurrence
import GHC.ThToHs
import GHC.Driver.Session
import GHC.Core.TyCo.Ppr
@@ -44,7 +45,7 @@ main = do
forall (a :: k) (b :: j) ->
() |]
let hs_t = fromRight (error "convertToHsType") $
- convertToHsType (Generated SkipPmc) noSrcSpan th_t
+ convertToHsType (Generated SkipPmc) noSrcSpan tvName th_t
(messages, mres) <-
tcRnType hsc_env SkolemiseFlexi True hs_t
let (warnings, errors) = partitionMessages messages
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/285fa79a905427340197e9f92aa3a855b87ff6bb
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/285fa79a905427340197e9f92aa3a855b87ff6bb
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/20231111/260aebc9/attachment-0001.html>
More information about the ghc-commits
mailing list