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
Report specific ErrorCode when "var" is used instead of "dynamic" #10356
Comments
Marked this as blocking #10355. |
I believe that this has been addressed by https://codereview.chromium.org/14811004/. Please let me know if that doesn't meet your needs. Added Fixed label. |
Unfortunately, it does not solve problem with using "var" as type argument. Attachments: Added Triaged label. |
While it's true that 'var' cannot be used as a type, we should do a better job of reporting and recovering from such an error. Added Analyzer-Recovery label. |
Removed Type-Defect label. |
Removed this from the Later milestone. |
Removed Oldschool-Milestone-Later label. |
We seem to recover much much better today. This now gets reported as:
Done? |
https://code.google.com/p/dart/issues/detail?id=10355
So, Quick Fix could use this information and suggest fix.
For example for: Map<String, var>
The text was updated successfully, but these errors were encountered: