Mayank Patke
1e2146b404
[dart2js] Bump pubspec SDK constraint to 3.0.0
...
This CL also cleans up any required mixin declarations/uses.
Change-Id: Ib51847f01aa6c10ebf1284600455a07091a109b0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/324484
Commit-Queue: Mayank Patke <fishythefish@google.com >
Reviewed-by: Sigmund Cherem <sigmund@google.com >
Reviewed-by: Stephen Adams <sra@google.com >
2023-09-07 17:07:24 +00:00
Nate Biggs
865421c169
[dart2js] Migrate pkg/compiler/tool to null safety.
...
Change-Id: I800aa4b5af9b9950ece488ed7e59bf98d2fc1c1b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/282980
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2023-02-15 04:04:48 +00:00
Nicholas Shahan
c140324e1e
[ddc] Rename .dill files
...
- Makes the names consistent with dart2js and dart2wasm.
- Prepares for the upcoming removal of the weak null safety .dill file.
Change-Id: Idcf694b27cd4731db8f7ed6f0fdab7766ced08a6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277183
Reviewed-by: William Hesse <whesse@google.com >
Reviewed-by: Bob Nystrom <rnystrom@google.com >
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Reviewed-by: Mayank Patke <fishythefish@google.com >
2023-01-18 01:34:57 +00:00
Nicholas Shahan
1c3a92cdb9
[test] Explicitly pass sound mode flag
...
Change-Id: I1e6f7fbc96cddbb8a98a5a3f32bfeab792ce1bbb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277041
Reviewed-by: Srujan Gaddam <srujzs@google.com >
Commit-Queue: Nicholas Shahan <nshahan@google.com >
2022-12-21 21:50:48 +00:00
Nicholas Shahan
34b5537c18
[test] Compile .dill file with sound null safety
...
- Migrate the file being compiled to sound null safety.
- Use sound null safety and the sound SDK outline to compile the
.dill file used in this test.
- Removed the assumption that test runs on an x64 processor.
- Added a simple throw to echo the errors from running the
compile.
Change-Id: Iec6bda8c981c1e69603313e4d74f1eb491734b09
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/276801
Commit-Queue: Nicholas Shahan <nshahan@google.com >
Reviewed-by: Srujan Gaddam <srujzs@google.com >
2022-12-20 22:45:38 +00:00
Ahmed Ashour
85700570f6
Fix typos
...
Fixes #49241
TEST=ci
Change-Id: I6117bf816fc8c4613cce66927f952fef75632725
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/248120
Reviewed-by: Alexander Thomas <athom@google.com >
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Reviewed-by: Ben Konyi <bkonyi@google.com >
Reviewed-by: Nicholas Shahan <nshahan@google.com >
Commit-Queue: Alexander Thomas <athom@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2022-06-15 11:08:28 +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
da66e1f39a
[dart2js] Make info_visitor_test cleanup created test data.
...
Change-Id: I8f70c5d751b670bde2d2b6f3fcc2c163722edac8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/232661
Reviewed-by: Nicholas Shahan <nshahan@google.com >
Commit-Queue: Joshua Litt <joshualitt@google.com >
2022-02-11 19:41:26 +00:00
Kevin Moore
70533ae7fa
pkg:compiler - enable and fix prefer_final_fields lint
...
Change-Id: I042f6047c2c10490121398027489217c6291425d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/211622
Auto-Submit: Kevin Moore <kevmoo@google.com >
Commit-Queue: Kevin Moore <kevmoo@google.com >
Reviewed-by: Stephen Adams <sra@google.com >
2021-09-24 21:37:39 +00:00
Gabriel Castro
0f04dc651d
Added checks to gather method data
...
Change-Id: I809e05ea3554ae9768d3f9cb25c824bbe36ca2bb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/203600
Commit-Queue: Gabriel Castro <gabrielmcastro@google.com >
Reviewed-by: Nicholas Shahan <nshahan@google.com >
Reviewed-by: Srujan Gaddam <srujzs@google.com >
2021-08-06 03:59:22 +00:00
Gabriel Castro
53198d4d1c
Added check to gather parent class name and classes mixed with
...
Change-Id: I56f5cae15b0e4a94ade886e317f3974cd3de6532
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/203060
Commit-Queue: Gabriel Castro <gabrielmcastro@google.com >
Reviewed-by: Nicholas Shahan <nshahan@google.com >
2021-08-06 00:59:41 +00:00
Gabriel Castro
9420dfd3ca
Initial commit for information collection visitor.
...
Accepts a .dill and recusivly visits component tree structure.
Added check for super call.
Change-Id: I926700afaeae6efddc9b70ca2121ae6cecdab33a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/202880
Commit-Queue: Gabriel Castro <gabrielmcastro@google.com >
Reviewed-by: Nicholas Shahan <nshahan@google.com >
2021-08-05 19:49:21 +00:00