summaryrefslogtreecommitdiff
path: root/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail02.stderr
blob: d5f52fd66ecd10a411b592b11e9c1e6d5ab9e6b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13

overloadedlistsfail02.hs:6:8:
    No instance for (GHC.Exts.IsList Foo)
      arising from an overloaded list
    In the expression: [7]
    In an equation for ‘test’: test = [7]

overloadedlistsfail02.hs:6:9:
    No instance for (Num (GHC.Exts.Item Foo))
      arising from the literal ‘7’
    In the expression: 7
    In the expression: [7]
    In an equation for ‘test’: test = [7]