Jens Johansen
81d4ac07d4
[CFE] Use package config v2
...
Change-Id: I32da9e8b2c1040db1521af4345f8e952c22bd30d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/130864
Commit-Queue: Jens Johansen <jensj@google.com >
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com >
Reviewed-by: Johnni Winther <johnniwinther@google.com >
2020-02-12 10:07:25 +00:00
Nicholas Shahan
2aa6e73ae7
[dartdevc] Cleanup all temporary nnbd modular tests
...
All of these tests are now running under the regular test infrastructure.
The only reason they were created as modular tests was because we wanted more
control over the SDK sources used.
Change-Id: I2ad5aa616ff8bccd10cfac2d49bfaa39ab50c192
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/128801
Reviewed-by: Mark Zhou <markzipan@google.com >
Commit-Queue: Nicholas Shahan <nshahan@google.com >
2019-12-18 00:43:44 +00:00
Nate Bosch
2ffdc54d24
Handle exported extensions in dill library builder
...
- Add a modular test to demonstrate the bug.
- Handle `Extension` nodes in `finalizeExports`.
Change-Id: Ie16f0c97059d24a122150a607e26fba258d80cfb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/120926
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Commit-Queue: Nate Bosch <nbosch@google.com >
2019-10-09 18:48:54 +00:00
Mark Zhou
26b1aca71e
[dartdevc] Canonicalizing partial instantiation constants
...
Fixes #38703
This fixes the last whitelisted DDK test.
Change-Id: I1fd79c2bc361b2a4bf7fce60a406be521408024b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/119921
Reviewed-by: Nicholas Shahan <nshahan@google.com >
Commit-Queue: Mark Zhou <markzipan@google.com >
2019-10-03 20:45:13 +00:00
Sigmund Cherem
33494de2f9
(ddk modular test) exclude sources from dill files.
...
This fixes the issue we had with shared/diamond depedencies. This also matches
more closely how DDK is invoked internally and externally.
While the change to use `--dart-sdk-summary` is not necessary, this brings the
API closer to how it is used elsewhere. It should be cleaned up in the future to
reuse the `--input-summary` flag instead.
Change-Id: Iec3695b5541ffaf7f5762a3d77f071a596237da1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/119723
Reviewed-by: Nicholas Shahan <nshahan@google.com >
Commit-Queue: Sigmund Cherem <sigmund@google.com >
2019-10-02 22:22:11 +00:00
Johnni Winther
b03d472e4c
[cfe] Handle default values on extension methods
...
Closes #38541
Change-Id: I078800cc98b5444c2c7f6f87b2d89bcf764bfc23
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/118582
Commit-Queue: Johnni Winther <johnniwinther@google.com >
Reviewed-by: Jens Johansen <jensj@google.com >
2019-09-25 08:45:27 +00:00
Vijay Menon
596bd5b61c
[dartdevc] Add modular NNBD test
...
Change-Id: I61cdd4a1f03232f1f8bab8b029e50b34bf7a1648
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/117760
Reviewed-by: Leaf Petersen <leafp@google.com >
Reviewed-by: Sigmund Cherem <sigmund@google.com >
Commit-Queue: Vijay Menon <vsm@google.com >
2019-09-19 16:53:50 +00:00
Johnni Winther
34004f7f6b
[cfe] Support modular compilation of extensions
...
Includes serialization/deserialization of Extension and
ExtensionMemberDescriptor.
Change-Id: I04df581355b0d6f9e6bfa638241c8b7f210d3ce5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/115369
Reviewed-by: Jens Johansen <jensj@google.com >
Commit-Queue: Johnni Winther <johnniwinther@google.com >
2019-09-05 11:19:53 +00:00
Aske Simon Christensen
88c0c11612
Remove constant-update-2018 flag from tests.
...
Change-Id: I85d3d0180bb7f5973ad2da946a3519c553fc7f92
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/113991
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Commit-Queue: Aske Simon Christensen <askesc@google.com >
2019-08-22 11:00:54 +00:00
Johnni Winther
9ec8d9ff25
[ddc] Merge modular/issue37523 test into modular/nested_constants test
...
Change-Id: I5d60de4468f8608fe275fccd2e4f833a8bcfb89d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/112340
Reviewed-by: Nicholas Shahan <nshahan@google.com >
Commit-Queue: Johnni Winther <johnniwinther@google.com >
2019-08-09 17:33:44 +00:00
Vyacheslav Egorov
573789f7f1
[cfe] Insert default super initializer when outlining const constructor
...
This ensures that it is invoked when performing constant evaluation
in modular setting.
Fixes https://github.com/dart-lang/sdk/issues/37794
Bug: 37794
Change-Id: I26c891044e030ac7702f02b2d4996984f9e898c6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/112383
Commit-Queue: Vyacheslav Egorov <vegorov@google.com >
Reviewed-by: Johnni Winther <johnniwinther@google.com >
2019-08-09 11:26:59 +00:00
Johnni Winther
d68b482f26
[cfe] Handle constructor from external libraries
...
Closes #37532
Change-Id: I8b07addeb1da6bc4fe165ff535944fab8c6698b2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/109261
Reviewed-by: Nicholas Shahan <nshahan@google.com >
2019-07-17 06:26:34 +00:00
Vijay Menon
5dc14be041
[dartdevc] add regression test for consts in outlines
...
Fixes https://github.com/dart-lang/sdk/issues/37161
Change-Id: I1718628fe92776dd5bc9f1ce51404e67ba7a70d2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/106483
Commit-Queue: Vijay Menon <vsm@google.com >
Reviewed-by: Nate Bosch <nbosch@google.com >
2019-06-19 15:44:35 +00:00
Sigmund Cherem
f6d67a549b
Turn ddc and dart2js modular tests into suites and share their test cases
...
For this to work properly, we first need the test infrastructure to have support
for the `--output-directory` flag (see base CL)
Change-Id: I75f788d19ad3b4e9523830250c4a1c9de8418cda
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/104400
Reviewed-by: Johnni Winther <johnniwinther@google.com >
2019-06-07 21:54:56 +00:00