goldfirere / ghc

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

Deal gracefully with promoted constrained constructors #45

Open goldfirere opened 8 years ago

goldfirere commented 8 years ago

This fails with a panic:

import Data.Proxy

data T a where
  Foo :: Show a => a -> T a

type Blah = 'Foo True