summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail177.stderr
blob: 206f9ced6c500e82a6ccc822aca140a1552a7664 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24

tcfail177.hs:38:12: error:
    Couldn't match expected type ‘Bool’ with actual type ‘Int’
    In the expression:
      foo
        ["One........" ~?= "1", "Two" ~?= "2", "Thre........." ~?= "3",
         "Four" ~?= "4", ....]
    In an equation for ‘allTest1’:
        allTest1
          = foo
              ["One........" ~?= "1", "Two" ~?= "2", "Thre........." ~?= "3",
               ....]

tcfail177.hs:47:12: error:
    Couldn't match expected type ‘Bool’ with actual type ‘Int’
    In the expression:
      foo
        ["One........" ~?= "1", "Two.................." ~?= "2",
         "Thre........." ~?= "3", "Four" ~?= "4", ....]
    In an equation for ‘allTest2’:
        allTest2
          = foo
              ["One........" ~?= "1", "Two.................." ~?= "2",
               "Thre........." ~?= "3", ....]