flutter / flutter/flutter-intellij
Would like a way to see the analyzer's inferred type.
Open
dependency: dart plugin
- Dominant language
- Java
- Stars
- 2k
- Forks
- 356
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 27
Description
I'm constantly fighting errors like:
```
message: 'Unsound implicit cast from dynamic to List'
at: '28,22'
source: 'dart'
```
From things like:
```
List foos = yaml['foos'].map((YamlMap yamlFoo) {
return fooFactory.fooByName(yamlFoo['name']);
}).toList();
```
It would help if there was a key combination I could use to see what the inferred type was in each step of my call chain.
dynamic poisons your chained calls, as soon as you hit one, the rest of them end up dynamic, so figuring out which step in the chain ended up dynamic is what I'm trying to do. Maybe this is an analyzer issue?
Contributor guide
Assessment
This issue has not been assessed yet.