summaryrefslogtreecommitdiff
path: root/testsuite/tests/ghci/scripts/ghci057.stderr
blob: 089704d9b4eb7da7cb6db4709d1884070b4673b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19

<interactive>:5:1:
    Illegal generalised algebraic data declaration for ‘T’
      (Use GADTs to allow GADTs)
    In the data declaration for ‘T’

ghci057.hs:3:3:
    Data constructor ‘C’ has existential type variables, a context, or a specialised result type
      C :: T Int
      (Use ExistentialQuantification or GADTs to allow this)
    In the definition of data constructor ‘C’
    In the data declaration for ‘T’

ghci057.hs:3:3:
    Data constructor ‘C’ has existential type variables, a context, or a specialised result type
      C :: T Int
      (Use ExistentialQuantification or GADTs to allow this)
    In the definition of data constructor ‘C’
    In the data declaration for ‘T’