summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail069.stderr
blob: 7c793c49ba32f8abcf09bb9335fa95fac59a214e (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" }