-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Meta Issue for Optional New and Const #32798
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
Comments
We should probably also track the long-term work regarding what people are calling "magic const", which is to say, automatically implying "const" instead of "new" where possible. |
Also, will the analyzer have a lint that recommends removing |
Drive-by comment: A lint that recommends omitting a With a possibly upcoming generalization that reintroduces "magic" const, it would again serve to insist that a given object is created at run time, which might otherwise not be expressible. E.g., when |
@Hixie do you mean something like dart-archive/linter#936 ? |
@Hixie will create a separate issue for the long term "magic const" For now, I'll close this as this was a meta issue to track to work that we need to get all the issues for our next flutter roll. |
This is just a meta issue to track overall progress and bugs tied to pushing optional new and const in Dart & Flutter.
(Optional new and const crash during compilation on Flutter 0.2.7-pre.6 #32737)
new
andconst
.] (Front-end handling of optionalnew
andconst
. #30922)The text was updated successfully, but these errors were encountered: