[GHC] #8137: Permited mega-polymorphic type

GHC ghc-devs at haskell.org
Thu Aug 15 21:00:13 CEST 2013


#8137: Permited  mega-polymorphic type
------------------------------------------------+--------------------------
        Reporter:  wvv                          |            Owner:
            Type:  bug                          |           Status:  closed
        Priority:  normal                       |        Milestone:
       Component:  Compiler (Type checker)      |          Version:  7.6.3
      Resolution:  invalid                      |         Keywords:
Operating System:  Unknown/Multiple             |     Architecture:
 Type of failure:  GHC accepts invalid program  |  Unknown/Multiple
       Test Case:                               |       Difficulty:
        Blocking:                               |  Unknown
                                                |       Blocked By:
                                                |  Related Tickets:
------------------------------------------------+--------------------------
Changes (by goldfire):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 This is correct behavior. The definition of `u` means both that computing
 `u` will never terminate and that `u` has any type. The expressions that
 you have above will all run forever, because `u` will run forever.

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




More information about the ghc-tickets mailing list