Skip to content

Add deprecation hints & new/const removal to /dart-2 #1016

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 4 commits into from
Jul 23, 2018
Merged

Conversation

kwalrath
Copy link
Contributor

@kwalrath kwalrath requested a review from kevmoo July 20, 2018 23:30
@googlebot googlebot added the cla: yes Contributor has signed the Contributor License Agreement label Jul 20, 2018
@@ -75,6 +76,8 @@ from either Dart 1.x or an earlier version of Dart 2.
* Do manual testing, and look for console errors.
Consider adding automated tests to catch issues that you find.
7. **Fix issues until your code works.**
8. _Optional:_ **Remove `new` and unnecessary `const`.** You can do this
by hand or use a tool such as `dartfmt --fix`.
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Member

Choose a reason for hiding this comment

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

Great idea @chalin!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I should update https://www.dartlang.org/guides/language/analysis-options (and perhaps other places, as well) to feature those, so I plan to do that in a separate PR later today.

Are we good to go with this PR?

Copy link
Contributor

Choose a reason for hiding this comment

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

Yes, all good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes Contributor has signed the Contributor License Agreement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants