summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/TcCoercibleFail3.stderr
blob: 54cd96ff6aec061cd2b6a36cc79188ae110327f2 (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