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

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