summaryrefslogtreecommitdiff
path: root/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail05.stderr
blob: 131294b138eefdad5f21ad492bd875fcdca74b8e (plain)
1
2
3
4
5
6
7

overloadedlistsfail05.hs:3:29:
    Couldn't match expected type ‛Char’ with actual type ‛Int’
    In the expression: (10 :: Int)
    In the first argument of ‛length’, namely ‛['a' .. (10 :: Int)]’
    In the first argument of ‛print’, namely
      ‛(length ['a' .. (10 :: Int)])’