diff options
author | Alan Zimmerman <alan.zimm@gmail.com> | 2018-03-28 23:35:43 +0200 |
---|---|---|
committer | Alan Zimmerman <alan.zimm@gmail.com> | 2018-04-07 15:01:20 +0200 |
commit | 5819ae2173d4b16f1fde067d39c3c215a6adfe97 (patch) | |
tree | cfa6fe74b75dcf43126ab2b22ce9c860a5a3fb47 /compiler/hsSyn/HsPat.hs-boot | |
parent | 718a018128a0ba2ae20001c10bc8ca4d929a1d33 (diff) | |
download | haskell-5819ae2173d4b16f1fde067d39c3c215a6adfe97.tar.gz |
Remove HasSourceText and SourceTextX classes
Updates haddock submodule to match.
Test Plan : Validate
Differential Revision: https://phabricator.haskell.org/D4199
Diffstat (limited to 'compiler/hsSyn/HsPat.hs-boot')
-rw-r--r-- | compiler/hsSyn/HsPat.hs-boot | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/compiler/hsSyn/HsPat.hs-boot b/compiler/hsSyn/HsPat.hs-boot index 8cb82ed22e..55c63fe7a4 100644 --- a/compiler/hsSyn/HsPat.hs-boot +++ b/compiler/hsSyn/HsPat.hs-boot @@ -4,17 +4,18 @@ -- in module PlaceHolder {-# LANGUAGE ConstraintKinds #-} {-# LANGUAGE RoleAnnotations #-} +{-# LANGUAGE TypeFamilies #-} module HsPat where import SrcLoc( Located ) import Data.Data hiding (Fixity) import Outputable -import HsExtension ( SourceTextX, DataId, OutputableBndrId ) +import HsExtension ( DataId, OutputableBndrId, GhcPass ) type role Pat nominal data Pat (i :: *) type LPat i = Located (Pat i) instance (DataId p) => Data (Pat p) -instance (SourceTextX pass, OutputableBndrId pass) => Outputable (Pat pass) +instance (p ~ GhcPass pass, OutputableBndrId p) => Outputable (Pat p) |