Skip to content

Fix Dart linter errors under strict mode - #3376

Merged
parrt merged 1 commit into
antlr:masterfrom
jcking:dart-lint
Dec 3, 2021
Merged

parrt merged 1 commit into
antlr:masterfrom
jcking:dart-lint

Conversation

@jcking

@jcking jcking commented Nov 30, 2021

Copy link
Copy Markdown
Collaborator

No description provided.

@jcking

jcking commented Nov 30, 2021

Copy link
Copy Markdown
Collaborator Author

@parrt Not sure who maintains the Dart runtime. But this change addresses some Dart linter errors that surface when running in strict mode with null safety turned on.

@KvanTTT

KvanTTT commented Nov 30, 2021 •

Copy link
Copy Markdown
Member

@lingyv-li maintains Dart runtime.

@KvanTTT

KvanTTT commented Nov 30, 2021

Copy link
Copy Markdown
Member

Unfortunately, Dart tests are failing.

@jcking

jcking commented Nov 30, 2021

Copy link
Copy Markdown
Collaborator Author

Whoops, I did not realize the underlying variable was plural but the setter/getter was singular. Fixed the variable to be singular as well.

@parrt parrt added this to the 4.9.4 milestone Dec 3, 2021
@parrt
parrt merged commit 7da07c7 into antlr:master Dec 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants