Skip to content
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.

[New rule] unnessecary-late-keyword #1179

Closed as not planned
Closed as not planned
@DetachHead

Description

@DetachHead

Rule details

report an error if a late variable is initialized on the same line, as the late keyword is not required.

What type of rule is this?

Warns about a potential problem

Example code

late bool foo = false; // error
late bool bar; // no error

Participation

  • I am willing to submit a pull request to implement this rule.

Additional comments

i raised this before #1113 but i worded it terribly. sorry!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions