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

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