[GHC] #12689: DataCon wrappers get in the way of rules

GHC ghc-devs at haskell.org
Tue Oct 11 20:43:00 UTC 2016


#12689: DataCon wrappers get in the way of rules
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.0.1
      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 Joachim Breitner <mail@…>):

 In [changeset:"b5be2ec33c395e3e092baf85ebd0696f233ad706/ghc" b5be2ec/ghc]:
 {{{
 #!CommitTicketReference repository="ghc"
 revision="b5be2ec33c395e3e092baf85ebd0696f233ad706"
 Add test case for #12689

 which test a few variants of rules involving constructors, including
 nullary constructors, constructors with wrappers, and unsaturated of
 constructors.

 At the moment, all the rules work as expected, despite GHC’s compile
 time warnings when called with -Wall.
 }}}

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


More information about the ghc-tickets mailing list