diff options
author | sheaf <sam.derbyshire@gmail.com> | 2022-09-13 10:22:05 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-09-13 10:27:53 -0400 |
commit | 362cca13858faf7e1158273780ea900e7dad5827 (patch) | |
tree | 468c06697b2a6ef3f65b79a469a131d279f71deb /testsuite/tests/typecheck/should_fail/tcfail151.stderr | |
parent | 65a0bd69ac1fb59047cd4c8554a8fc756c7b3476 (diff) | |
download | haskell-362cca13858faf7e1158273780ea900e7dad5827.tar.gz |
Diagnostic codes: acccept test changes
The testsuite output now contains diagnostic codes, so many tests need
to be updated at once.
We decided it was best to keep the diagnostic codes in the testsuite
output, so that contributors don't inadvertently make changes to the
diagnostic codes.
Diffstat (limited to 'testsuite/tests/typecheck/should_fail/tcfail151.stderr')
-rw-r--r-- | testsuite/tests/typecheck/should_fail/tcfail151.stderr | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/testsuite/tests/typecheck/should_fail/tcfail151.stderr b/testsuite/tests/typecheck/should_fail/tcfail151.stderr index 6867f351fd..7ffb421471 100644 --- a/testsuite/tests/typecheck/should_fail/tcfail151.stderr +++ b/testsuite/tests/typecheck/should_fail/tcfail151.stderr @@ -1,15 +1,15 @@ -tcfail151.hs:1:14: Warning: [-Wdeprecated-flags (in -Wdefault)] +tcfail151.hs:1:14: warning: [-Wdeprecated-flags (in -Wdefault)] -XDatatypeContexts is deprecated: It was widely considered a misfeature, and has been removed from the Haskell language. -tcfail151.hs:8:6: - Expecting one more argument to ‘Name a’ - Expected a constraint, but ‘Name a’ has kind ‘* -> Constraint’ - In the data declaration for ‘Exp’ +tcfail151.hs:8:6: error: [GHC-83865] + • Expecting one more argument to ‘Name a’ + Expected a constraint, but ‘Name a’ has kind ‘* -> Constraint’ + • In the data declaration for ‘Exp’ -tcfail151.hs:8:30: - Expecting one more argument to ‘a’ - Expected a type, but ‘a’ has kind ‘* -> *’ - In the type ‘a’ - In the definition of data constructor ‘MkExp’ - In the data declaration for ‘Exp’ +tcfail151.hs:8:30: error: [GHC-83865] + • Expecting one more argument to ‘a’ + Expected a type, but ‘a’ has kind ‘* -> *’ + • In the type ‘a’ + In the definition of data constructor ‘MkExp’ + In the data declaration for ‘Exp’ |