summaryrefslogtreecommitdiff
path: root/testsuite/tests/annotations/should_fail/annfail10.stderr
blob: 33a4c16a9be7883fb8c93103c58311d3c71e3cd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

annfail10.hs:9:1:
    No instance for (Data.Data.Data a0)
      arising from an annotation
    The type variable `a0' is ambiguous
    Possible fix: add a type signature that fixes these type variable(s)
    In the expression: 1
    In the annotation: {-# ANN f 1 #-}

annfail10.hs:9:11:
    No instance for (Num a0)
      arising from the literal `1'
    The type variable `a0' is ambiguous
    Possible fix: add a type signature that fixes these type variable(s)
    In the expression: 1
    In the annotation: {-# ANN f 1 #-}