Skip to content
Snippets Groups Projects
Commit 86ff1523 authored by Andrei Borzenkov's avatar Andrei Borzenkov Committed by Marge Bot
Browse files

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's avatarsheaf <sam.derbyshire@gmail.com>
parent 11627c42
No related branches found
No related tags found
No related merge requests found
Showing
with 395 additions and 134 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment