summaryrefslogtreecommitdiff
path: root/testsuite/tests/annotations/should_fail/annfail08.stderr
blob: b9023476f08c9f8ada4ebdd75a02d154d71757a7 (plain)
1
2
3
4
5
6
7
8
9
10
11

annfail08.hs:9:1:
    No instance for (Data.Data.Data (a0 -> a0))
      arising from an annotation
    In the expression: (id + 1)
    In the annotation: {-# ANN f (id + 1) #-}

annfail08.hs:9:15:
    No instance for (Num (a0 -> a0)) arising from a use of ‛+’
    In the expression: (id + 1)
    In the annotation: {-# ANN f (id + 1) #-}