diff options
Diffstat (limited to 'testsuite/tests/indexed-types/should_fail/T8368.stderr')
-rw-r--r-- | testsuite/tests/indexed-types/should_fail/T8368.stderr | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/testsuite/tests/indexed-types/should_fail/T8368.stderr b/testsuite/tests/indexed-types/should_fail/T8368.stderr index 058dfb147c..8cd5e71bac 100644 --- a/testsuite/tests/indexed-types/should_fail/T8368.stderr +++ b/testsuite/tests/indexed-types/should_fail/T8368.stderr @@ -1,6 +1,5 @@ -T8368.hs:9:3: - Data constructor ‘MkFam’ returns type ‘Foo’ - instead of an instance of its parent type ‘Fam a’ - In the definition of data constructor ‘MkFam’ - In the data instance declaration for ‘Fam’ +T8368.hs:9:3: error: + • Couldn't match expected type ‘Fam a0’ with actual type ‘Foo’ + • In the result type of data constructor ‘MkFam’ + In the data instance declaration for ‘Fam’ |