diff options
Diffstat (limited to 'compiler/hsSyn/HsPat.hs-boot')
-rw-r--r-- | compiler/hsSyn/HsPat.hs-boot | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/hsSyn/HsPat.hs-boot b/compiler/hsSyn/HsPat.hs-boot index 55c63fe7a4..d9a4d79412 100644 --- a/compiler/hsSyn/HsPat.hs-boot +++ b/compiler/hsSyn/HsPat.hs-boot @@ -11,11 +11,11 @@ import SrcLoc( Located ) import Data.Data hiding (Fixity) import Outputable -import HsExtension ( DataId, OutputableBndrId, GhcPass ) +import HsExtension ( DataIdLR, OutputableBndrId, GhcPass ) type role Pat nominal data Pat (i :: *) type LPat i = Located (Pat i) -instance (DataId p) => Data (Pat p) +instance (DataIdLR p p) => Data (Pat p) instance (p ~ GhcPass pass, OutputableBndrId p) => Outputable (Pat p) |