[GHC] #11405: Incorrect failure of type-level skolem escape check

GHC ghc-devs at haskell.org
Mon Jan 11 12:43:53 UTC 2016


#11405: Incorrect failure of type-level skolem escape check
-------------------------------------+-------------------------------------
           Reporter:  goldfire       |             Owner:  goldfire
               Type:  bug            |            Status:  new
           Priority:  normal         |         Milestone:
          Component:  Compiler       |           Version:  8.1
           Keywords:  TypeInType     |  Operating System:  Unknown/Multiple
       Architecture:                 |   Type of failure:  None/Unknown
  Unknown/Multiple                   |
          Test Case:                 |        Blocked By:
           Blocking:                 |   Related Tickets:
Differential Rev(s):                 |         Wiki Page:
-------------------------------------+-------------------------------------
 From Phab:D1739.

 When you say

 {{{
 undefined :: forall (v :: Levity). forall (a :: TYPE v). (?callStack ::
 CallStack) => a
 }}}

 you get a skolem escape failure because GHC things that the kind of
 `(?callStack :: CallStack) => a` is `TYPE v`. It should be `*`.

 I will fix.

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


More information about the ghc-tickets mailing list