summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail185.stderr
blob: 2c39b007d431bed44e3f8e94e4e9dddef79acb8c (plain)
1
2
3
4
5
6
7
8
9
10
11

tcfail185.hs:7:46:
    Couldn't match expected type ‛Int -> Int’ with actual type ‛Bool’
    In the expression: x
    In the expression:
      let
        y1 = y
        y2 = y1
        y3 = y2
        ....
      in x