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

annfail08.hs:9:1: error:
    • No instance for (Data.Data.Data (a0 -> a0))
        arising from an annotation
        (maybe you haven't applied a function to enough arguments?)
    • In the annotation: {-# ANN f (id + 1) #-}

annfail08.hs:9:12: error:
    • No instance for (Num (a0 -> a0)) arising from a use of ‘+’
        (maybe you haven't applied a function to enough arguments?)
    • In the annotation: {-# ANN f (id + 1) #-}