Commit Graph

13 Commits

Author SHA1 Message Date
Mayank Patke c878108cc8 [dart2js] Update pubspec to Dart 3.7 and reformat.
All non-pubspec changes generated by `dart format pkg/compiler`.

Change-Id: Iadaa70974816d96ccb47813fe72d5a2bb83d6bda
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/400181
Reviewed-by: Nate Biggs <natebiggs@google.com>
Commit-Queue: Mayank Patke <fishythefish@google.com>
2024-12-13 11:24:50 -08:00
Lasse R.H. Nielsen f8086c81ae Collect all test-related files in package:expect.
Collects files from `package:async_helper` and `tests/language`
that are generally useful, so that all test-related helpers are
in `package:expect`.

Moves the two libraries from `package:async_helper` into `package:expect`,
and the `tests/language/static_type_helper.dart` file too.

Deprecates `async_minitest.dart`, to follow `minitest.dart`,
expecting the Flutter use of it to have been fixed to not break
on deprecation (I believe Flutter no longer breaks builds on deprecations at all).

Patch 1 is the actual change.
Patch 2+4+8 is changing all existing references to the files.
Patch 6 ignores deprecation in files still using `async_minitest.dart`.

3+5+7+9 are updating this text to make the numbers match.
Then it's just test-expectations and small tweaks from there.

Change-Id: I1b665135b5fef9b9a0c3b340ffe9daf874d0174c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/373120
Reviewed-by: Nate Bosch <nbosch@google.com>
Reviewed-by: Devon Carew <devoncarew@google.com>
Commit-Queue: Lasse Nielsen <lrn@google.com>
2024-10-11 16:53:52 +00:00
Ahmed Ashour 63180b95ed Remove superfluous words.
Fixes #51095

TEST=ci

CoreLibraryReviewExempt: There are no API changes, just removal of superfluous words in the comments.
Change-Id: Ib1020c62fe6baed5ca68f0074323f025cc90e9f8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/279500
Reviewed-by: Lasse Nielsen <lrn@google.com>
Commit-Queue: Lasse Nielsen <lrn@google.com>
Reviewed-by: Siva Annamalai <asiva@google.com>
2023-01-30 15:58:38 +00:00
Nate Biggs fc88f6f20b [dart2js] Migrate test/custom_split for null safety migration.
Change-Id: I30a93071dac20c62e96a73fa65b845b64d7f796c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/279301
Reviewed-by: Mayank Patke <fishythefish@google.com>
2023-01-23 06:02:51 +00:00
Stephen Adams 5c2ca380a4 [dart2js] Tag all sources with @dart = 2.10
Change-Id: Ie9c7548dc81b58db0c1149124db79e4cf1430cc1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/239723
Reviewed-by: Nate Biggs <natebiggs@google.com>
Reviewed-by: Joshua Litt <joshualitt@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
2022-04-06 21:31:45 +00:00
Joshua Litt 6f5a99b211 [dart2js] Fix bug with leafless constraint graphs.
Change-Id: If0ddb1e0e3559f8ec05b0303da37adcd72acd336
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/236444
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Joshua Litt <joshualitt@google.com>
2022-03-11 02:35:05 +00:00
Joshua Litt f6ebe80d26 [dart2js] Refactor program split constraint's Fuse node.
This cl makes Fuse an unnamed ordering node, and allows ors / ands
within the fuse. For examples of the benefits of this new Fuse, please
see:
pkg/compiler/test/custom_split/data/fuse_with_and/main.dart
and
pkg/compiler/test/custom_split/data/fuse_with_or/main.dart

Change-Id: I5076abcd617d138b03dc8944737c61645e42e038
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/228685
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Joshua Litt <joshualitt@google.com>
2022-01-26 18:03:58 +00:00
Joshua Litt 0310c8e233 Reland "[dart2js] Address some feedback on constraints API."
This is a reland of 851d821556

Original change's description:
> [dart2js] Address some feedback on constraints API.
>
> * Changes default namer to use the always unique uri#prefix of a
> deferred import.
> * Changes builder api for combiner nodes to take sets.
>
> Change-Id: Iab23db94a166560682a8c2bd4a78ebfd3e734353
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/218880
> Reviewed-by: Sigmund Cherem <sigmund@google.com>
> Commit-Queue: Joshua Litt <joshualitt@google.com>

Change-Id: I6394166be1f3ddebe19cc71f70fa5f5b26e05231
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/219128
Commit-Queue: Joshua Litt <joshualitt@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2021-11-04 21:47:46 +00:00
Joshua Litt efa5a003f0 Revert "[dart2js] Address some feedback on constraints API."
This reverts commit 851d821556.

Reason for revert: Breaks release

Original change's description:
> [dart2js] Address some feedback on constraints API.
>
> * Changes default namer to use the always unique uri#prefix of a
> deferred import.
> * Changes builder api for combiner nodes to take sets.
>
> Change-Id: Iab23db94a166560682a8c2bd4a78ebfd3e734353
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/218880
> Reviewed-by: Sigmund Cherem <sigmund@google.com>
> Commit-Queue: Joshua Litt <joshualitt@google.com>

TBR=sigmund@google.com,joshualitt@google.com

Change-Id: Idb0d79221ff005127276c0d616c9a6a04ad09f44
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/219127
Reviewed-by: Joshua Litt <joshualitt@google.com>
Commit-Queue: Joshua Litt <joshualitt@google.com>
2021-11-03 22:19:15 +00:00
Joshua Litt 851d821556 [dart2js] Address some feedback on constraints API.
* Changes default namer to use the always unique uri#prefix of a
deferred import.
* Changes builder api for combiner nodes to take sets.

Change-Id: Iab23db94a166560682a8c2bd4a78ebfd3e734353
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/218880
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Joshua Litt <joshualitt@google.com>
2021-11-03 18:47:17 +00:00
Joshua Litt 39386e58d4 [dart2js] Create building blocks for programmatic constraint api.
Change-Id: Ida50217c48c39fe222589aa227ac65691a8fc982
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/216684
Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commit-Queue: Joshua Litt <joshualitt@google.com>
2021-10-26 19:38:31 +00:00
Joshua Litt 2cd38d1f5a [dart2js] Add support for 'or' nodes in program split constraints.
Change-Id: I6de8240082e9b2f0f219e3641cf702054d2334a9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208001
Commit-Queue: Joshua Litt <joshualitt@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2021-09-03 19:19:48 +00:00
Joshua Litt 663eab5565 [dart2js] Initial support for program split constraints.
Change-Id: I7e227e05d98a27a5d38386777f94ee0f4905dcde
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/206322
Commit-Queue: Joshua Litt <joshualitt@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2021-09-01 19:50:56 +00:00