[GHC] #15323: mkGadtDecl does not set con_forall correctly

GHC ghc-devs at haskell.org
Fri Jun 29 19:01:46 UTC 2018


#15323: mkGadtDecl does not set con_forall correctly
-------------------------------------+-------------------------------------
        Reporter:  alanz             |                Owner:  alanz
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.6.1
       Component:  Compiler          |              Version:  8.4.3
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
                                     |  Unknown/Multiple
 Type of failure:  None/Unknown      |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Alan Zimmerman <alan.zimm@…>):

 In [changeset:"6e4e6d1c674a9d0257ca5c6caa26da18edf8ad8c/ghc"
 6e4e6d1c/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="6e4e6d1c674a9d0257ca5c6caa26da18edf8ad8c"
 Fix mkGadtDecl does not set con_forall correctly

 A GADT declaration surrounded in parens does not det the con_forall
 field correctly.

 e.g.

 data MaybeDefault v where
     TestParens  :: (forall v . (Eq v) => MaybeDefault v)

 Closes #15323
 }}}

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


More information about the ghc-tickets mailing list