[GHC] #10836: Better error reporting for closed type families

GHC ghc-devs at haskell.org
Fri Sep 11 16:17:09 UTC 2015


#10836: Better error reporting for closed type families
-------------------------------------+-------------------------------------
        Reporter:  jstolarek         |                   Owner:
            Type:  bug               |                  Status:  new
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.11
      Resolution:                    |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  Incorrect         |  Unknown/Multiple
  warning at compile-time            |               Test Case:  T10836
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------

Comment (by Simon Peyton Jones <simonpj@…>):

 In [changeset:"a870738a3b34d264c63656783e84168a230d7da4/ghc" a870738/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="a870738a3b34d264c63656783e84168a230d7da4"
 Improve rejigConRes (again)

 I think this patch finally works around the delicacy in the strictness
 of TcTyClsDecls.rejigConRes.   See the notes with that function and
 Note [Checking GADT return types].

 As a result, we fix Trac #10836, and improve Trac #7175
 }}}

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


More information about the ghc-tickets mailing list