summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail069.stderr
blob: 4c40526b5b2e4ba379c2d03a587dad06209fa166 (plain)
1
2
3
4
5
6
7

tcfail069.hs:21:7:
    Couldn't match expected type `([Int], [Int])'
                with actual type `[t0]'
    In the pattern: []
    In a case alternative: [] -> error "foo"
    In the expression: case (list1, list2) of { [] -> error "foo" }