Skip to content

Commit c37ef77

Browse files
committed
libnixf: fixup diagnostic message
1 parent 637c09b commit c37ef77

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

libnixf/src/Basic/diagnostic.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -198,14 +198,14 @@ class Diagnostic(TypedDict):
198198
{
199199
"sname": "sema-unused-def-lambda-witharg-formal",
200200
"cname": "UnusedDefLambdaWithArg_Formal",
201-
"severity": "Warning",
202-
"message": "argument `{}` in `@`-pattern is not used",
201+
"severity": "Hint",
202+
"message": "attribute `{}` of `@`-pattern argument is not used, but may be referenced from the argument",
203203
},
204204
{
205205
"sname": "sema-unused-def-lambda-witharg-arg",
206206
"cname": "UnusedDefLambdaWithArg_Arg",
207-
"severity": "Hint",
208-
"message": "attribute `{}` of `@`-pattern argument is not used, but may be referenced from the argument",
207+
"severity": "Warning",
208+
"message": "argument `{}` in `@`-pattern is not used",
209209
},
210210
{
211211
"sname": "sema-extra-rec",

0 commit comments

Comments
 (0)