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

tcfail013.hs:4:3:
    Couldn't match expected type ‘[t]’ with actual type ‘Bool’
    In the pattern: True
    In an equation for ‘f’: f True = 2
    Relevant bindings include f :: [t] -> a (bound at tcfail013.hs:3:1)