diff options
author | Shayne Fletcher <shayne@shaynefletcher.org> | 2021-04-24 16:59:26 -0400 |
---|---|---|
committer | Shayne Fletcher <shayne@shaynefletcher.org> | 2021-04-26 18:52:13 -0400 |
commit | 76f82c0eb0212a1d6d2712996b4f19984aec80be (patch) | |
tree | d86f70f6b432ddbeadc6d427d8c366718468be33 /compiler/Language/Haskell/Syntax/Binds.hs | |
parent | 7bc7eea3897dcb8a87fdb0921f451b9bc77309f6 (diff) | |
download | haskell-wip/T19720.tar.gz |
Change representation of field selector occurenceswip/T19720
Diffstat (limited to 'compiler/Language/Haskell/Syntax/Binds.hs')
-rw-r--r-- | compiler/Language/Haskell/Syntax/Binds.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/Language/Haskell/Syntax/Binds.hs b/compiler/Language/Haskell/Syntax/Binds.hs index 8c69f10eb8..60ca3fad1b 100644 --- a/compiler/Language/Haskell/Syntax/Binds.hs +++ b/compiler/Language/Haskell/Syntax/Binds.hs @@ -33,6 +33,7 @@ import {-# SOURCE #-} Language.Haskell.Syntax.Pat import Language.Haskell.Syntax.Extension import Language.Haskell.Syntax.Type +import GHC.Types.Name.Reader(RdrName) import GHC.Tc.Types.Evidence import GHC.Core.Type import GHC.Types.Basic @@ -931,7 +932,7 @@ when we have a different name for the local and top-level binder, making the distinction between the two names clear. -} -instance Outputable (RecordPatSynField a) where +instance Outputable (XRec a RdrName) => Outputable (RecordPatSynField a) where ppr (RecordPatSynField { recordPatSynField = v }) = ppr v |