mirror of
https://github.com/dart-lang/sdk
synced 2024-09-18 21:31:20 +00:00
8061bd5a8a
- [x] Add three public fields to the "BoundVariable" service type: declarationTokenPos, visibleStartTokenPos, and visibleEndTokenPos. (naming suggestions welcome!) - [x] Extend LocalVarDescriptors to hold the declaration token position (it already had the scope visibility boundaries). - [x] Extend ContextScope to hold the declaration token position. - [x] Add a unit test which verifies this works for local variables, function parameters, and closure captured variables. Fixes https://github.com/dart-lang/sdk/issues/25569 BUG= R=rmacnak@google.com Review URL: https://codereview.chromium.org/2419013004 . |
||
---|---|---|
.. | ||
bin | ||
lib | ||
maintainers | ||
tests | ||
tool | ||
web | ||
.analysis_options | ||
.gitignore | ||
.packages | ||
BUILD.gn | ||
HACKING.md | ||
observatory.gypi | ||
observatory_sources.gypi | ||
pubspec.lock | ||
pubspec.yaml | ||
update_sources.py |