diff options
author | Andrei Borzenkov <andreyborzenkov2002@gmail.com> | 2022-11-21 11:57:14 +0400 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2022-11-24 17:24:51 -0500 |
commit | 86ff1523d21f27f69351f8a2d053ba9d5d98aa89 (patch) | |
tree | c4cfd8424053a84a9ccad33295b1689393f25e3f /testsuite/tests/ghci/prog011/prog011.stderr | |
parent | 11627c422cfba5e1d84afb08f427007dbc801f10 (diff) | |
download | haskell-86ff1523d21f27f69351f8a2d053ba9d5d98aa89.tar.gz |
Convert diagnostics in GHC.Rename.Expr to proper TcRnMessage (#20115)
Problem: avoid usage of TcRnMessageUnknown
Solution:
The following `TcRnMessage` messages has been introduced:
TcRnNoRebindableSyntaxRecordDot
TcRnNoFieldPunsRecordDot
TcRnIllegalStaticExpression
TcRnIllegalStaticFormInSplice
TcRnListComprehensionDuplicateBinding
TcRnEmptyStmtsGroup
TcRnLastStmtNotExpr
TcRnUnexpectedStatementInContext
TcRnIllegalTupleSection
TcRnIllegalImplicitParameterBindings
TcRnSectionWithoutParentheses
Co-authored-by: sheaf <sam.derbyshire@gmail.com>
Diffstat (limited to 'testsuite/tests/ghci/prog011/prog011.stderr')
-rw-r--r-- | testsuite/tests/ghci/prog011/prog011.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/tests/ghci/prog011/prog011.stderr b/testsuite/tests/ghci/prog011/prog011.stderr index 328fa16192..23e5983274 100644 --- a/testsuite/tests/ghci/prog011/prog011.stderr +++ b/testsuite/tests/ghci/prog011/prog011.stderr @@ -1,4 +1,4 @@ -prog011.hx:14:22: error: +prog011.hx:14:22: [GHC-82311] error: Empty 'do' block Suggested fix: Perhaps you intended to use NondecreasingIndentation |