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

tcfail156.hs:7:26:
    A newtype constructor cannot have an existential context,
      but `Foo' does
    In the definition of data constructor `Foo'
    In the newtype declaration for `Foo'