summaryrefslogtreecommitdiff
path: root/testsuite/tests/annotations/should_fail/annfail08.stderr
blob: df18d002ee6532a72ac47c3ee7a76e79031dd074 (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) #-}