This repository was archived by the owner on Jul 16, 2023. It is now read-only.
This repository was archived by the owner on Jul 16, 2023. It is now read-only.
[Rule change] avoid-late-keyword
- option to only error when late
variable is initialized #1113
Closed
Description
What rule do you want to change?
avoid-late-keyword
How will the change be implemented? (New option, new default behavior, etc.)?
new option
Please provide some example code that this change will affect:
late bool foo;
late bool bar = false;
What does the rule currently do for this code?
error on both lines
What will the rule do after it's changed?
only error on bool
Are you willing to submit a pull request to implement this change?
if it's easy