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

gadtSyntaxFail001.hs:8:5:
    Data constructor `C2' has existential type variables, a context, or a specialised result type
      (Use -XExistentialQuantification or -XGADTs to allow this)
    In the definition of data constructor `C2'
    In the data type declaration for `Foo'