diff options
author | Alan Zimmerman <alan.zimm@gmail.com> | 2018-06-18 10:19:07 +0200 |
---|---|---|
committer | Alan Zimmerman <alan.zimm@gmail.com> | 2018-06-19 11:52:22 +0200 |
commit | d58fff78de7d48546a22392cefdd0abab1f1ccec (patch) | |
tree | 3c5f9ec0df0cf34a8c412016e6a72c5f92e883fe /haddock-api/src/Haddock/GhcUtils.hs | |
parent | 2755526abb478c2f51c9cf4b894de287dd318868 (diff) |
Match changes in GHC for #14259
Diffstat (limited to 'haddock-api/src/Haddock/GhcUtils.hs')
-rw-r--r-- | haddock-api/src/Haddock/GhcUtils.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/haddock-api/src/Haddock/GhcUtils.hs b/haddock-api/src/Haddock/GhcUtils.hs index 2d254414..b2c34bb4 100644 --- a/haddock-api/src/Haddock/GhcUtils.hs +++ b/haddock-api/src/Haddock/GhcUtils.hs @@ -169,7 +169,7 @@ getGADTConType :: ConDecl DocNameI -> LHsType DocNameI -- order to pretty-print it, and currently only in Haddock's code. So -- we are cavalier about locations and extensions, hence the -- 'undefined's -getGADTConType (ConDeclGADT { con_forall = has_forall +getGADTConType (ConDeclGADT { con_forall = L _ has_forall , con_qvars = qtvs , con_mb_cxt = mcxt, con_args = args , con_res_ty = res_ty }) @@ -201,7 +201,7 @@ getGADTConTypeG :: ConDecl (GhcPass p) -> LHsType (GhcPass p) -- order to pretty-print it, and currently only in Haddock's code. So -- we are cavalier about locations and extensions, hence the -- 'undefined's -getGADTConTypeG (ConDeclGADT { con_forall = has_forall +getGADTConTypeG (ConDeclGADT { con_forall = L _ has_forall , con_qvars = qtvs , con_mb_cxt = mcxt, con_args = args , con_res_ty = res_ty }) |