summaryrefslogtreecommitdiff
path: root/testsuite/tests/gadt/gadtSyntaxFail003.stderr
blob: eb2e370a6677eeeee30cf676fd631768789b70ed (plain)
1
2
3
4
5
6

gadtSyntaxFail003.hs:7:5:
    Data constructor ‛C1’ has existential type variables, a context, or a specialised result type
      (Use -XExistentialQuantification or -XGADTs to allow this)
    In the definition of data constructor ‛C1’
    In the data declaration for ‛Foo’