[GHC] #8503: New GeneralizedNewtypeDeriving check still isn't permissive enough

GHC ghc-devs at haskell.org
Wed Nov 20 10:29:57 UTC 2013


#8503: New GeneralizedNewtypeDeriving check still isn't permissive enough
-------------------------------------+------------------------------------
        Reporter:  goldfire          |            Owner:  goldfire
            Type:  bug               |           Status:  new
        Priority:  normal            |        Milestone:
       Component:  Compiler          |          Version:  7.7
      Resolution:                    |         Keywords:
Operating System:  Unknown/Multiple  |     Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown      |       Difficulty:  Unknown
       Test Case:                    |       Blocked By:
        Blocking:                    |  Related Tickets:  #8541
-------------------------------------+------------------------------------

Comment (by nomeata):

 As a first step, I implemented separate depth counters for regular
 constraints and type function application.

 User-visible changes: Flag `-ftype-function-stack`, in addition to
 `-fcontext-stack`. Feel free to bikeshed you think the name is
 inappropriate. The defaults for these values are discussed in #5395
 (current 200 resp. 20).

 See http://git.haskell.org/ghc.git/shortlog/refs/heads/wip/T8503 for my
 work in progress, and
 http://git.haskell.org/testsuite.git/shortlog/refs/heads/wip/T8503 for the
 corresponding test suite updates.

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


More information about the ghc-tickets mailing list