-
Notifications
You must be signed in to change notification settings - Fork 1.7k
analyzer: missing type propagation of method calls on top-level final fields #17800
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
Changed the title to: "analyzer: missing type inference of method calls on top-level final fields". |
sorry s/inference/propagation/ ;-) Changed the title to: "analyzer: missing type propagation of method calls on top-level final fields". |
Added this to the 1.4 milestone. |
Removed this from the 1.4 milestone. |
Removed this from the Later milestone. |
Removed Oldschool-Milestone-Later label. |
I think this is fixed in strong mode. |
I have code like:
void main(List arguments) {
var args = _argParser.parse(arguments);
// ... more code ...
}
final _argParser = new ArgParser()
// <snip>
..addFlag('help', help: 'prints this message');
When hovering over the bottom _argParser, it displays the propagated type as "ArgParser". However, when hovering over the use in main, it doesn't show an inferred type, and the ".parse" doesn't let me "go to declaration" or show a method tooltip. It also means that "var args" doesn't get a propagated type either.
Dart Editor version 1.3.0.dev_06_01 (DEV)
Dart SDK version 1.3.0-dev.6.1
The text was updated successfully, but these errors were encountered: