[Git][ghc/ghc][master] Convert diagnostics in GHC.Rename.Bind to proper TcRnMessage (#20115)
Marge Bot (@marge-bot)
gitlab at gitlab.haskell.org
Sat Jan 28 07:59:40 UTC 2023
Marge Bot pushed to branch master at Glasgow Haskell Compiler / GHC
Commits:
50b1e2e8 by Andrei Borzenkov at 2023-01-28T02:59:18-05:00
Convert diagnostics in GHC.Rename.Bind to proper TcRnMessage (#20115)
I removed all occurrences of TcRnUnknownMessage in GHC.Rename.Bind
module. Instead, these TcRnMessage messages were introduced:
TcRnMultipleFixityDecls
TcRnIllegalPatternSynonymDecl
TcRnIllegalClassBiding
TcRnOrphanCompletePragma
TcRnEmptyCase
TcRnNonStdGuards
TcRnDuplicateSigDecl
TcRnMisplacedSigDecl
TcRnUnexpectedDefaultSig
TcRnBindInBootFile
TcRnDuplicateMinimalSig
- - - - -
30 changed files:
- compiler/GHC/Rename/Bind.hs
- compiler/GHC/Tc/Errors/Ppr.hs
- compiler/GHC/Tc/Errors/Types.hs
- compiler/GHC/Types/Error/Codes.hs
- testsuite/tests/module/mod48.stderr
- testsuite/tests/module/mod68.stderr
- testsuite/tests/parser/should_fail/OpaqueParseFail4.stderr
- testsuite/tests/patsyn/should_fail/T12165.stderr
- testsuite/tests/patsyn/should_fail/T13349.stderr
- testsuite/tests/patsyn/should_fail/T9705-1.stderr
- testsuite/tests/patsyn/should_fail/T9705-2.stderr
- testsuite/tests/rename/should_compile/rn049.stderr
- + testsuite/tests/rename/should_fail/RnDefaultSigFail.hs
- + testsuite/tests/rename/should_fail/RnDefaultSigFail.stderr
- + testsuite/tests/rename/should_fail/RnEmptyCaseFail.hs
- + testsuite/tests/rename/should_fail/RnEmptyCaseFail.stderr
- + testsuite/tests/rename/should_fail/RnMultipleFixityFail.hs
- + testsuite/tests/rename/should_fail/RnMultipleFixityFail.stderr
- + testsuite/tests/rename/should_fail/RnMultipleMinimalPragmaFail.hs
- + testsuite/tests/rename/should_fail/RnMultipleMinimalPragmaFail.stderr
- + testsuite/tests/rename/should_fail/RnPatternSynonymFail.hs
- + testsuite/tests/rename/should_fail/RnPatternSynonymFail.stderr
- testsuite/tests/rename/should_fail/T18138.stderr
- testsuite/tests/rename/should_fail/T19781.stderr
- testsuite/tests/rename/should_fail/T5589.stderr
- testsuite/tests/rename/should_fail/T7338.stderr
- testsuite/tests/rename/should_fail/T7338a.stderr
- testsuite/tests/rename/should_fail/all.T
- testsuite/tests/rename/should_fail/rnfail048.stderr
- testsuite/tests/typecheck/should_fail/tcfail021.stderr
The diff was not included because it is too large.
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/50b1e2e8141fb1a3d1d3c1563935d08e90dca11a
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/50b1e2e8141fb1a3d1d3c1563935d08e90dca11a
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230128/176cb3b2/attachment.html>
More information about the ghc-commits
mailing list