sebastiaanvisser/fclabels — Issue #4: -XGADTs in GHC 7.0.3 breaks fclabels
Author: MedeaMelana
Created: 2011-11-29 23:04:37+00:00
State: open

This program throws compiler errors:

```haskell
{-# LANGUAGE GADTs #-}
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE TypeOperators #-}

import Prelude hiding ((.), id)
import Data.Label

data D = A { _a :: () } | B { _b :: Char }

$(mkLabels [''D])
```

Without line 1 `{-# LANGUAGE GADTs #-}` there is no problem. What's going on?