diff options
author | RyanGlScott <ryan.gl.scott@gmail.com> | 2015-08-05 14:24:08 +0200 |
---|---|---|
committer | Ben Gamari <ben@smart-cactus.org> | 2015-08-05 14:45:16 +0200 |
commit | 575abf42e218925e456bf765abb14f069ac048a0 (patch) | |
tree | dee6b8678c3c08ba80d711483f6ff0ee1c5502ca /testsuite/tests/th/TH_reifyDecl1.stderr | |
parent | fd6b24f1ef8ff26c97cb7e48bad8645cc63d2001 (diff) | |
download | haskell-575abf42e218925e456bf765abb14f069ac048a0.tar.gz |
Add Fixity info for infix types
Template Haskell allows reification of fixity for infix functions and
data constructors, and not for infix types. This adds a `Fixity` field
to the relevant `Info` constructors that can have infix types (`ClassI`,
`TyConI`, and `FamilyI`).
I don't think that `VarI` or `PrimTyConI` can be infix, but I could be
wrong.
Test Plan: ./validate
Reviewers: austin, goldfire, bgamari
Reviewed By: goldfire, bgamari
Subscribers: thomie
Differential Revision: https://phabricator.haskell.org/D1109
GHC Trac Issues: #10704
Diffstat (limited to 'testsuite/tests/th/TH_reifyDecl1.stderr')
-rw-r--r-- | testsuite/tests/th/TH_reifyDecl1.stderr | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/testsuite/tests/th/TH_reifyDecl1.stderr b/testsuite/tests/th/TH_reifyDecl1.stderr index bf5a819577..503f5331f0 100644 --- a/testsuite/tests/th/TH_reifyDecl1.stderr +++ b/testsuite/tests/th/TH_reifyDecl1.stderr @@ -12,7 +12,6 @@ newtype TH_reifyDecl1.Length = TH_reifyDecl1.Length GHC.Types.Int Constructor from TH_reifyDecl1.Tree: TH_reifyDecl1.Leaf :: forall (a_0 :: *) . TH_reifyDecl1.Tree a_0 Class op from TH_reifyDecl1.C1: TH_reifyDecl1.m1 :: forall (a_0 :: *) . TH_reifyDecl1.C1 a_0 => a_0 -> GHC.Types.Int - infixl 3 TH_reifyDecl1.m1 class TH_reifyDecl1.C1 (a_0 :: *) where TH_reifyDecl1.m1 :: forall (a_0 :: *) . TH_reifyDecl1.C1 a_0 => a_0 -> GHC.Types.Int |