summaryrefslogtreecommitdiff
path: root/testsuite/tests/rep-poly/T21650_b.stderr
blob: 081736ad6b30012eba42614ccba852b340222c2b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

T21650_b.hs:34:7: error: [GHC-55287]
    • Unsaturated use of a representation-polymorphic newtype constructor.
      The first argument of ‘MkN’
      does not have a fixed runtime representation.
      Its type is:
        a :: TYPE (RR T1 t2)
    • In the expression: MkN
      In an equation for ‘foo’: foo = MkN

T21650_b.hs:37:7: error: [GHC-55287]
    • Unsaturated use of a representation-polymorphic newtype constructor.
      The first argument of ‘MkN’
      does not have a fixed runtime representation.
      Its type is:
        a :: TYPE (RR T1 t2)
    • In the expression: MkN
      In an equation for ‘bar’: bar = MkN