Types show differently in VSCode and DevTools
Offen
console component
P2
- Vorherrschende Sprache
- Dart
- Sterne
- 1.7k
- Forks
- 404
- Ø Merge
- 6 T. 17 Std.
- Gemergte PRs (30 T.)
- 18
Beschreibung
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
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.