[GHC] #10891: `reify` doesn't find associated type families

GHC ghc-devs at haskell.org
Sat Sep 19 18:39:26 UTC 2015


#10891: `reify` doesn't find associated type families
-------------------------------------+-------------------------------------
        Reporter:  antalsz           |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:  8.0.1
       Component:  Template Haskell  |                 Version:  7.10.2
      Resolution:                    |                Keywords:  type
                                     |  families; newcomer
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Incorrect result  |  Unknown/Multiple
  at runtime                         |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by goldfire):

 That's true that it's different semantically. But Template Haskell is all
 about syntax, not semantics. But I'd make it a `TySynInstD` instead of a
 `TySynD` (even though the latter is more syntactically accurate). It seems
 a bit overwrought to make a new constructor for `Dec` for this case.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/10891#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list