[record_use] Store multiple loading units#3122
Conversation
PR HealthBreaking changes ✔️
This check can be disabled by tagging the PR with License Headers ✔️
All source files should start with a license header. Unrelated files missing license headers
This check can be disabled by tagging the PR with API leaks ✔️The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API.
This check can be disabled by tagging the PR with |
1 similar comment
PR HealthBreaking changes ✔️
This check can be disabled by tagging the PR with License Headers ✔️
All source files should start with a license header. Unrelated files missing license headers
This check can be disabled by tagging the PR with API leaks ✔️The following packages contain symbols visible in the public API, but not exported by the library. Export these symbols or remove them from your publicly visible API.
This check can be disabled by tagging the PR with |
| ) => switch (syntax) { | ||
| TearoffCallSyntax() => CallTearoff( | ||
| loadingUnit: context.loadingUnits[syntax.loadingUnitIndex], | ||
| loadingUnit: context.loadingUnits[syntax.loadingUnitIndices.first], |
There was a problem hiding this comment.
For my own understanding (here and elsewhere): Why's it always the first index?
There was a problem hiding this comment.
See follow up PR. I wanted to split the JSON update from the Dart API update. The Dart API becomes a list in the next PR.
JSON implementation for: