diff options
author | Dominik Bollmann <bollmann@seas.upenn.edu> | 2016-05-11 15:55:13 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2016-05-12 15:39:30 +0200 |
commit | c079de3c43704ea88f592e441389e520313e30ad (patch) | |
tree | a3d85f9118ec73abdc7058b8c3123afc18bf9360 /libraries/ghci | |
parent | e21728736d2ca0d65da9e84c18a12c2f29c116ee (diff) | |
download | haskell-c079de3c43704ea88f592e441389e520313e30ad.tar.gz |
Add TH support for pattern synonyms (fixes #8761)
This commit adds Template Haskell support for pattern synonyms as
requested by trac ticket #8761.
Test Plan: ./validate
Reviewers: thomie, jstolarek, osa1, RyanGlScott, mpickering, austin,
goldfire, bgamari
Reviewed By: goldfire, bgamari
Subscribers: rdragon
Differential Revision: https://phabricator.haskell.org/D1940
GHC Trac Issues: #8761
Diffstat (limited to 'libraries/ghci')
-rw-r--r-- | libraries/ghci/GHCi/TH/Binary.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/ghci/GHCi/TH/Binary.hs b/libraries/ghci/GHCi/TH/Binary.hs index ab9b35525a..0bdc756870 100644 --- a/libraries/ghci/GHCi/TH/Binary.hs +++ b/libraries/ghci/GHCi/TH/Binary.hs @@ -59,6 +59,8 @@ instance Binary TH.Clause instance Binary TH.InjectivityAnn instance Binary TH.FamilyResultSig instance Binary TH.TypeFamilyHead +instance Binary TH.PatSynDir +instance Binary TH.PatSynArgs -- We need Binary TypeRep for serializing annotations |