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

Remove analyzer's deprecated analysis modes: no-implicit-casts and no-implicit-dynamic #50679

Closed
srawlins opened this issue Dec 10, 2022 · 5 comments
Labels
analyzer-analysis-options area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P2 A bug or feature request we're likely to work on

Comments

@srawlins
Copy link
Member

When these are removed, we can close issues related to them:

The new 'language' modes are documented here: https://dart.dev/guides/language/analysis-options#enabling-additional-type-checks

@srawlins srawlins added area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. analyzer-analysis-options labels Dec 10, 2022
@bwilkerson bwilkerson added the P2 A bug or feature request we're likely to work on label Dec 13, 2022
@bwilkerson
Copy link
Member

Do we want to set a milestone for this?

@srawlins srawlins added this to the Dart 3 alpha 1 milestone Dec 13, 2022
@srawlins
Copy link
Member Author

Good idea. Just set to Dart 3 Alpha.

@parlough
Copy link
Member

parlough commented Jun 14, 2023

I completely missed this somehow, but it looks like this removal was reverted in 94f20d7. Perhaps reopen this so the removal doesn't get lost?

Do you have any extra context on why it was reverted?

@srawlins srawlins reopened this Jun 14, 2023
@srawlins
Copy link
Member Author

I think it was removed because some flutter customer tests referenced them.

domesticmouse pushed a commit to flutter/put-flutter-to-work that referenced this issue Jun 15, 2023
I'm going through `flutter/` and other projects and removing references
to the deprecated `strong-mode` options to ease the final removal of
them.

This enables similar [analyzer language
modes](https://dart.dev/guides/language/analysis-options#enabling-additional-type-checks)
to replace them.

Issue reference: dart-lang/sdk#50679
parlough added a commit to flutter/platform_tests that referenced this issue Jun 29, 2023
@srawlins
Copy link
Member Author

Removed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-analysis-options area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P2 A bug or feature request we're likely to work on
Projects
None yet
Development

No branches or pull requests

3 participants