-
Notifications
You must be signed in to change notification settings - Fork 708
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
Update language tour for Dart 2 changes #507
Comments
I'm working on the strong mode changes, which are pretty invasive. |
This is so awesome to see! |
* Dart 2 changes to language tour Contributes to #507
I don't know how to update the language tour for fuzzy arrows, so I'll be contacting @leafpetersen. We expect to start using implicit new/const everywhere for beta 3. |
We should cover asserts in initializers (and probably beef up the initializer coverage a bit). |
I'm starting on removing |
There is a PR pending for that: Remove all uses of "new" and "const" from "Effective Dart" #844. In particular, note this comment: #844 (comment). If we have the green light to go ahead with this, then great! |
Because Flutter's style (at least within constructors) is not to use |
Implicit new and const are covered. I don't think we need to cover fuzzy arrows, but I should probably still add an example of an assert in an initializer. |
#677 added an example of using assert in an initializer. |
new
andconst
for Dart 2 (meta issue) sdk#30921) (partially fixed in Dart 2 changes to the language tour #677)The text was updated successfully, but these errors were encountered: