summaryrefslogtreecommitdiff
path: root/testsuite/tests/gadt/gadtSyntaxFail001.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'testsuite/tests/gadt/gadtSyntaxFail001.stderr')
-rw-r--r--testsuite/tests/gadt/gadtSyntaxFail001.stderr14
1 files changed, 7 insertions, 7 deletions
diff --git a/testsuite/tests/gadt/gadtSyntaxFail001.stderr b/testsuite/tests/gadt/gadtSyntaxFail001.stderr
index 54fa5f992b..e92272d5c2 100644
--- a/testsuite/tests/gadt/gadtSyntaxFail001.stderr
+++ b/testsuite/tests/gadt/gadtSyntaxFail001.stderr
@@ -1,7 +1,7 @@
-
-gadtSyntaxFail001.hs:8:5:
- Data constructor ‘C2’ has existential type variables, a context, or a specialised result type
- C2 :: forall a. a -> Char -> Foo a Int
- (Use ExistentialQuantification or GADTs to allow this)
- In the definition of data constructor ‘C2’
- In the data declaration for ‘Foo’
+
+gadtSyntaxFail001.hs:8:5: error:
+ Data constructor ‘C2’ has existential type variables, a context, or a specialised result type
+ C2 :: forall a. a -> Char -> Foo a Int
+ (Use ExistentialQuantification or GADTs to allow this)
+ In the definition of data constructor ‘C2’
+ In the data type declaration for ‘Foo’