diff options
author | Haskell-mouse <rinat.stryungis@serokell.io> | 2023-04-03 14:03:06 +0200 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2023-04-03 19:31:26 -0400 |
commit | 8b092910ac18a2b5dc97a29ced9fc469c663a03b (patch) | |
tree | 80c1d763922a2fbf9e343ac6cbc2cf6de35c5c0a /testsuite/tests/parser/should_fail | |
parent | a8e36892689bd6b8fb472844f79aeeddeda92e0a (diff) | |
download | haskell-8b092910ac18a2b5dc97a29ced9fc469c663a03b.tar.gz |
Convert diagnostics in GHC.Rename.HsType to proper TcRnMessage
I've turned all occurrences of TcRnUnknownMessage in GHC.Rename.HsType
module into a proper TcRnMessage.
Instead, these TcRnMessage messages were introduced:
TcRnDataKindsError
TcRnUnusedQuantifiedTypeVar
TcRnIllegalKindSignature
TcRnUnexpectedPatSigType
TcRnSectionPrecedenceError
TcRnPrecedenceParsingError
TcRnIllegalKind
TcRnNegativeNumTypeLiteral
TcRnUnexpectedKindVar
TcRnBindMultipleVariables
TcRnBindVarAlreadyInScope
Diffstat (limited to 'testsuite/tests/parser/should_fail')
-rw-r--r-- | testsuite/tests/parser/should_fail/readFail016.stderr | 2 | ||||
-rw-r--r-- | testsuite/tests/parser/should_fail/readFail023.stderr | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/testsuite/tests/parser/should_fail/readFail016.stderr b/testsuite/tests/parser/should_fail/readFail016.stderr index 33ccbed470..feb8942530 100644 --- a/testsuite/tests/parser/should_fail/readFail016.stderr +++ b/testsuite/tests/parser/should_fail/readFail016.stderr @@ -1,4 +1,4 @@ -readFail016.hs:7:1: +readFail016.hs:7:1: [GHC-88747] Precedence parsing error cannot mix ‘|-’ [infix 6] and ‘:’ [infixr 5] in the same infix expression diff --git a/testsuite/tests/parser/should_fail/readFail023.stderr b/testsuite/tests/parser/should_fail/readFail023.stderr index 7c60be5108..7d28c3400d 100644 --- a/testsuite/tests/parser/should_fail/readFail023.stderr +++ b/testsuite/tests/parser/should_fail/readFail023.stderr @@ -1,5 +1,5 @@ -readFail023.hs:9:5: +readFail023.hs:9:5: [GHC-46878] The operator ‘**’ [infixl 7] of a section must have lower precedence than that of the operand, namely prefix `-' [infixl 6] |