Skip to content

Commit

Permalink
modify ASSIGNMENT_TO_CONST error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Frankdroid7 committed Oct 24, 2024
1 parent a8bee55 commit f563d46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/analyzer/messages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -788,7 +788,7 @@ CompileTimeErrorCode:
}
```
ASSIGNMENT_TO_CONST:
problemMessage: "Constant variables can't be assigned a value."
problemMessage: "Constant variables can't be re-assigned a value."
correctionMessage: "Try removing the assignment, or remove the modifier 'const' from the variable."
hasPublishedDocs: true
comment: No parameters.
Expand Down

0 comments on commit f563d46

Please sign in to comment.