Skip to content

Conversation

@test0terter0n
Copy link

Motivation

We wanted to use lint use_null_aware_elements. When we enabled this lint and applied the changes to use the new 'Null-Aware Element' syntax, we see the error

[SEVERE] Suggestor.generatePatches() threw unexpectedly.

Invalid argument(s): File ".../cool_widget.dart" produced diagnostics when parsed:
  MISSING_IDENTIFIER: Expected an identifier. - 36:11
  EXPECTED_TOKEN: Expected to find ':'. - 36:22
  MISSING_IDENTIFIER: Expected an identifier. - 36:22

After the update of analyzer and dart_style, the new ? Syntax is parsed without any errors.

Changes

Update to latest dependencies.

Release Notes

Review

See CONTRIBUTING.md for more details on review types (+1 / QA +1 / +10) and code review process.

Please review:

QA Checklist

  • Tests were updated and provide good coverage of the changeset and other affected code
  • Manual testing was performed if needed

Merge Checklist

While we perform many automated checks before auto-merging, some manual checks are needed:

  • A Frontend Frameworks Architecture member has reviewed these changes
  • There are no unaddressed comments - this check can be automated if reviewers use the "Request Changes" feature
  • For release PRs - Version metadata in Rosie comment is correct

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.

1 participant