summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/tcfail167.stderr
blob: 3700a7656cfbbd436857f844b5f967661ce831f5 (plain)
1
2
3
4
5
6
7
8

tcfail167.hs:14:14: error:
    • Couldn't match type ‘Char’ with ‘Float’
      Inaccessible code in
        a pattern with constructor: C2 :: T Float,
        in an equation for ‘inaccessible’
    • In the pattern: C2
      In an equation for ‘inaccessible’: inaccessible C2 = ' '