Skip to content

Dart analysis-related fixes #211

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 8, 2019

Conversation

stuartmorgan-g
Copy link
Collaborator

  • Fixes the include path for the example app's analysis file, which
    broke during the repository restructure.
  • Removes analysis options that are obsolete in recent Dart versions.
  • Fix some new analysis issues (mostly constructor ordering).

- Fixes the include path for the example app's analysis file, which
  broke during the repository restructure.
- Removes analysis options that are obsolete in recent Dart versions.
- Fix some new analysis issues (mostly constructor ordering).
@@ -4,10 +4,6 @@

# Root analysis options shared among all Dart code in the respository. Based
# on the Fuchsia standard analysis options, with some changes.
analyzer:
Copy link
Contributor

@krisgiesing krisgiesing Jan 7, 2019

Choose a reason for hiding this comment

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

FWIW, there are still strong mode options that aren't the default (see implicit-casts and implicit-dynamic). We're considering trying to turn those on for our project, but they trigger a lot of analysis failures right now.

Copy link
Contributor

@krisgiesing krisgiesing Jan 7, 2019

Choose a reason for hiding this comment

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

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Thanks for the pointer! I tried turning them on, and fixed some of the more obvious errors (added to this PR), but some of them were more fiddly, and there aren't easy-to-find example solutions for some of them, so I'm leaving them off for now.

@stuartmorgan-g stuartmorgan-g merged commit 0e59304 into google:master Jan 8, 2019
@stuartmorgan-g stuartmorgan-g deleted the example-analysis-fixes branch January 8, 2019 18:49
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants