[GHC] #11028: Refactor ConDecl

GHC ghc-devs at haskell.org
Mon Nov 30 13:38:50 UTC 2015


#11028: Refactor ConDecl
-------------------------------------+-------------------------------------
        Reporter:  simonpj           |                Owner:  alanz
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  7.10.2
      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 simonpj):

 What is the regression?  I think it's that for
 {{{
 data W where
   W1 :: forall a. W
 }}}
 we get
 {{{
 T5331.hs:11:16: Warning:
     Unused quantified type variable ‘a’
     In the type `forall a. W’
 }}}
 instead of
 {{{
 T5331.hs:11:16: Warning:
     Unused quantified type variable ‘a’
     In the definition of data constructor ‘W1’
 }}}
 If so, I think that's fine -- accept it.

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


More information about the ghc-tickets mailing list