summaryrefslogtreecommitdiff
path: root/testsuite/tests/typecheck/should_fail/UnliftedNewtypesMultiFieldGadt.stderr
blob: 70493e0d96572273c93ab00fe80a21714bda7392 (plain)
1
2
3
4
5
UnliftedNewtypesMultiFieldGadt.hs:19:3:
     The constructor of a newtype must have exactly one field
        but ‘FooC’ has two
     In the definition of data constructor ‘FooC’
      In the newtype declaration for ‘Foo’