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

TcCoercibleFail3.hs:12:7: error:
    Couldn't match representation of type ‘NT1’ with that of ‘NT2’
      arising from a use of ‘coerce’
    In the expression: coerce
    In an equation for ‘foo’: foo = coerce