summaryrefslogtreecommitdiff
path: root/testsuite/tests/overloadedlists/should_fail/overloadedlistsfail05.stderr
blob: edd0c7fcef1a84bf0e6b919a3802bdca324c7b03 (plain)
1
2
3
4
5
6
7
8
9
10

overloadedlistsfail05.hs:3:24: error:
    • Couldn't match type ‘Char’ with ‘Int’
      Expected type: GHC.Exts.Item [Int]
        Actual type: Char
    • In the expression: 'a'
      In the first argument of ‘length’, namely
        ‘(['a' .. (10 :: Int)] :: [Int])’
      In the first argument of ‘print’, namely
        ‘(length (['a' .. (10 :: Int)] :: [Int]))’