[GHC] #14939: StaticPointers + -dcore-lint: cause Core Lint error??

GHC ghc-devs at haskell.org
Mon Mar 19 09:00:45 UTC 2018


#14939: StaticPointers + -dcore-lint: cause Core Lint error??
-------------------------------------+-------------------------------------
        Reporter:  Iceland_jack      |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.5
      Resolution:                    |             Keywords:
                                     |  StaticPointers
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 monoidal):

 Smaller version:

 {{{#!haskell
 {-# Language StaticPointers, TypeInType, GADTs #-}

 import Data.Kind

 type Alg cls = Type

 data AlgCat (cls::Type) :: Alg cls -> Type where

 leftAdj :: AlgCat cls a -> a
 leftAdj f = undefined
 }}}

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


More information about the ghc-tickets mailing list