goldfirere / ghc

Mirror of ghc repository. DO NOT SUBMIT PULL REQUESTS HERE
http://www.haskell.org/ghc/
Other
25 stars 1 forks source link

Need to rename constructors in kinds #26

Closed goldfirere closed 8 years ago

goldfirere commented 9 years ago

This doesn't compile due to a renaming bug:

{-# LANGUAGE DataKinds, KindSignatures #-}

import Data.Proxy

data Foo :: Proxy True -> *

If you make it 'True, it compiles.

int-index commented 8 years ago

Cannot reproduce on GHC 7.11.20151214. I suppose it's fixed now?

goldfirere commented 8 years ago

I'm sure it does. I remember when I changed the code in this area to fix it, too. Thanks much for checking!