We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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
In the code below, a0 is inferred as type dynamic unless I add new in front of the constructor call to Baz.
a0
new
Baz
class Baz { } var a0 = Baz(); void main() { int x = a0; }
The text was updated successfully, but these errors were encountered:
https://dart-review.googlesource.com/c/sdk/+/45880
Sorry, something went wrong.
Issue 32397. Fix for top-level inference and implicit creation.
977f4c7
[email protected] Bug: #32397 Change-Id: Idec5867cfd0ac3e6c0f650afb7f282e66aea91ce Reviewed-on: https://dart-review.googlesource.com/45880 Reviewed-by: Brian Wilkerson <[email protected]>
scheglov
No branches or pull requests
In the code below,
a0
is inferred as type dynamic unless I addnew
in front of the constructor call toBaz
.The text was updated successfully, but these errors were encountered: