7a83c82b4f
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>
20 lines
372 B
YAML
20 lines
372 B
YAML
name: record_use
|
|
description: >
|
|
The serialization logic and API for the usage recording SDK feature.
|
|
version: 0.4.0
|
|
repository: https://github.com/dart-lang/sdk/tree/main/pkg/record_use
|
|
|
|
environment:
|
|
sdk: ^3.7.0
|
|
|
|
resolution: workspace
|
|
|
|
dependencies:
|
|
collection: ^1.18.0
|
|
pub_semver: ^2.1.4
|
|
|
|
dev_dependencies:
|
|
dart_flutter_team_lints: any
|
|
lints: any
|
|
test: any
|