1 2 3 4 5 6 7 8 9 10
module Annfail08 where -- Testing instance type errors in annotations {-# ANN module (id + 1) #-} {-# ANN type Foo (id + 1) #-} data Foo = Bar {-# ANN f (id + 1) #-} f x = x