Files
sdk/pkg/record_use/CHANGELOG.md
T
Moritz 7a83c82b4f [record_use] Don't record locations for usages and other refactorings
In preparation of a merge with the Dart2Js format in a follow up PR.

- Treat default values as passed arguments - `foo(4)` is the same as
  `foo()` for all intents and purposes for a `foo([int i = 4])`.
- Add signatures to lookup, as dart2js forgets them during
  compilation.
- Encode non-constant arguments as `null`, while a `null` passed as an
  argument is a `NullConstant`.

Tested:pkg/vm/test/transformations/record_use_test.dart
Change-Id: Ifd2597d8d1b979627fa45fd4736a762031c17216
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/415620
Commit-Queue: Moritz Sümmermann <mosum@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
Auto-Submit: Moritz Sümmermann <mosum@google.com>
2025-04-28 06:12:00 -07:00

333 B

0.4.0

  • Update SDK constraint to ^3.5.0.
  • Rewrite API to expose less symbols.
  • Remove locations for easier caching.

0.3.0

  • Make InstanceConstant a Constant.
  • Separate import from location uri.

0.2.0

  • Use maps instead of lists in serialization.

0.1.1

  • Fix repository link.

0.1.0

  • Initial version.