Skip to content

fix: support await expressions in proper_super_calls#284

Closed
solid-illiaaihistov wants to merge 3 commits into
solid-software:masterfrom
solid-illiaaihistov:fix-235-support-await-expressions-in-proper-super-calls
Closed

fix: support await expressions in proper_super_calls#284
solid-illiaaihistov wants to merge 3 commits into
solid-software:masterfrom
solid-illiaaihistov:fix-235-support-await-expressions-in-proper-super-calls

Conversation

@solid-illiaaihistov

Copy link
Copy Markdown
Collaborator

Closed #235

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request updates the ProperSuperCallsRule lint rule to correctly handle await expressions when validating super calls in initState and dispose methods, and adds a test case to verify this behavior. The review feedback suggests enhancing the robustness of this rule by using .unParenthesized to unwrap any parenthesized expressions that might wrap the await or super call expressions.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread lib/src/lints/proper_super_calls/proper_super_calls_rule.dart Outdated
Comment thread lib/src/lints/proper_super_calls/proper_super_calls_rule.dart Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug: false positive for proper_super_calls

2 participants