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
franklin.oladipo committed Oct 24, 2024
1 parent a8bee55 commit 9db7e73
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 9db7e73

Please sign in to comment.