Types show differently in VSCode and DevTools
Open
console component
P2
- Dominant language
- Dart
- Stars
- 1.7k
- Forks
- 404
- Avg merge
- 6d 17h
- Merged PRs (30d)
- 18
Description
Platforms: macos, (soon web as well, after https://github.com/dart-lang/webdev/pull/2103)
**VSCode**

**DevTools**

**Questions**
- Should we display types similarly in VSCode and DevTools?
- Should we make the representation realistic, i.e. if the field is showing in DevTools/VSCode then the user can access it via expression evaluation, unless it is shown as private?
- Currently `0.runtimeType.name` field is not accessible (does not compile) but shows in DevTools
- Currently `(0,1).runtimeType.$1` is not accessible (does not compile) but shows in VSCode
Related: https://github.com/dart-lang/webdev/pull/2103
Contributor guide
Assessment
This issue has not been assessed yet.