summaryrefslogtreecommitdiff
path: root/testsuite/tests/rep-poly/UnliftedNewtypesCoerceFail.stderr
blob: 3484650c73c18d3a326a739443cb5c49e8bec04c (plain)
1
2
3
4
5
6
7
8
9

UnliftedNewtypesCoerceFail.hs:14:8: error:
    • Unsaturated use of a representation-polymorphic primitive function.
      The first argument of ‘coerce’
      does not have a fixed runtime representation.
      Its type is:
        x :: TYPE rep
    • In the expression: coerce
      In an equation for ‘goof’: goof = coerce