diff options
Diffstat (limited to 'testsuite/tests/ghci/scripts/ghci057.stderr')
-rw-r--r-- | testsuite/tests/ghci/scripts/ghci057.stderr | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testsuite/tests/ghci/scripts/ghci057.stderr b/testsuite/tests/ghci/scripts/ghci057.stderr new file mode 100644 index 0000000000..e26f15e1a9 --- /dev/null +++ b/testsuite/tests/ghci/scripts/ghci057.stderr @@ -0,0 +1,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’ |