Ticket #7385 (closed bug: worksforme)
Promotion of datatypes without -XDataKinds
Description
The following code, without any extensions, compiles:
type Foo = False
It would seem necessary to enable -XDataKinds, but GHC does not enforce this requirement. This was tested on 7.7.20121031.
Change History
Note: See
TracTickets for help on using
tickets.
