[GHC] #15979: Core Lint error with LiberalTypeSynonyms

GHC ghc-devs at haskell.org
Sat Dec 1 18:49:36 UTC 2018


#15979: Core Lint error with LiberalTypeSynonyms
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:  8.8.1
       Component:  Compiler          |              Version:  8.6.2
      Resolution:                    |             Keywords:
Operating System:  Unknown/Multiple  |         Architecture:
 Type of failure:  Compile-time      |  Unknown/Multiple
  crash or panic                     |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 Uh... what? I must be living in a different reality, then, since GHC has
 always let me do this without complaint:

 {{{#!hs
 type Foo = forall (f :: Type -> Type). f
 }}}

 So either I'm taking crazy pills, or those kinding rules for types are
 blatantly wrong.

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


More information about the ghc-tickets mailing list