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

TcCoercibleFail3.hs:12:7:
    Could not coerce from ‘NT1’ to ‘NT2’
      because ‘NT1’ and ‘NT2’ are different types.
      arising from a use of ‘coerce’
    In the expression: coerce
    In an equation for ‘foo’: foo = coerce