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

TcCoercibleFail3.hs:12:7: error: [GHC-18872]
    • 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