diff options
author | Krzysztof Gogolewski <krzysztof.gogolewski@tweag.io> | 2023-05-08 18:48:33 +0200 |
---|---|---|
committer | Krzysztof Gogolewski <krzysztof.gogolewski@tweag.io> | 2023-05-08 18:51:57 +0200 |
commit | 478138c03fa30c17e37d26a0a9ad76d357a6a645 (patch) | |
tree | 07bb2bc33e836b463ab400ffda0882373111ff4c /compiler | |
parent | 994bda563604461ffb8454d6e298b0310520bcc8 (diff) | |
download | haskell-wip/T17284.tar.gz |
Add a test for #17284wip/T17284
Since !10123 we now reject this program.
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/GHC/Tc/Types.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/GHC/Tc/Types.hs b/compiler/GHC/Tc/Types.hs index a6bab74fc0..28668b7979 100644 --- a/compiler/GHC/Tc/Types.hs +++ b/compiler/GHC/Tc/Types.hs @@ -1592,7 +1592,7 @@ instance Outputable TcIdSigInfo where ppr (CompleteSig { sig_bndr = bndr }) = ppr bndr <+> dcolon <+> ppr (idType bndr) ppr (PartialSig { psig_name = name, psig_hs_ty = hs_ty }) - = text "psig" <+> ppr name <+> dcolon <+> ppr hs_ty + = text "[partial signature]" <+> ppr name <+> dcolon <+> ppr hs_ty instance Outputable TcIdSigInst where ppr (TISI { sig_inst_sig = sig, sig_inst_skols = skols |