Elliott Brooks
9f4d5b6e4a
Set the cache-control header's max-age value to 0s for DevTools.
...
This ensures that the `index.html` file (which determines whether to
load the new service worker and therefore invalidate the cache) will
always be fresh.
Bug: https://github.com/flutter/devtools/issues/3896
Change-Id: Ib0b6adda66b7dd926f57724f21c2a7c6284bce60
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237842
Reviewed-by: Ben Konyi <bkonyi@google.com >
Reviewed-by: Kenzie Davisson <kenzieschmoll@google.com >
Commit-Queue: Elliott Brooks <elliottbrooks@google.com >
2022-03-18 22:46:02 +00:00
Sam Rawlins
843a31fe45
Prefer string interpolations; other small fixes for lints 2.0.0
...
Change-Id: Ie66c42ac738adbcf07d0b7c5ccc77e34975008c2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237801
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Phil Quitslund <pquitslund@google.com >
Commit-Queue: Samuel Rawlins <srawlins@google.com >
2022-03-18 22:13:21 +00:00
Clement Skau
2c0ba56ea1
[vm/ffi] Add error for FFI annotation with opt. args.
...
Optional arguments (positional and named) in @FfiNative
annotations are not meaningful, and should result in a
compile-time error.
TEST=tests/ffi/ffi_native_test.dart
Bug: https://github.com/dart-lang/sdk/issues/47169
Change-Id: I8896e6a43f9399b537e6ee7c7a0e2857a370203f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/232622
Reviewed-by: Daco Harkes <dacoharkes@google.com >
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com >
Commit-Queue: Clement Skau <cskau@google.com >
2022-03-18 20:58:51 +00:00
Konstantin Shcheglov
eb95543629
Run macro types phase.
...
The very first version, many improvements to be done later.
Change-Id: If78efba1ab0d06aaea6f3c7525fcd00a39c18459
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237768
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2022-03-18 20:22:41 +00:00
pq
ccb4157309
bump to linter 1.21.1
...
Fixes: https://github.com/flutter/flutter/issues/100297
Change-Id: I240d8bfd77f48830b91ed80329dc6a2352e1cb8c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237724
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Phil Quitslund <pquitslund@google.com >
2022-03-18 19:56:21 +00:00
pq
dfa6c5f402
update package:lints dep to 2.0.0
...
See: https://github.com/dart-lang/lints/issues/73 .
Change-Id: I553ef8d9226c1c7d43c9594160a115a1abf043c3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/236841
Reviewed-by: Devon Carew <devoncarew@google.com >
Reviewed-by: Michael Thomsen <mit@google.com >
Reviewed-by: Nate Bosch <nbosch@google.com >
Commit-Queue: Phil Quitslund <pquitslund@google.com >
2022-03-18 19:55:51 +00:00
Alexander Aprelev
42dedb589f
[vm/types] Ensure type arguments canonicalization doesn't race with readers.
...
Fixes https://github.com/dart-lang/sdk/issues/47140
TEST=ci, stress bot
Change-Id: I0df3eab99754224344da9a18b8b4b2748e45a8b6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237761
Reviewed-by: Martin Kustermann <kustermann@google.com >
Commit-Queue: Alexander Aprelev <aam@google.com >
2022-03-18 18:45:27 +00:00
Clement Skau
0d28233e96
Fixes branched out from dart-cl/221624.
...
This change fixes a bug in the IA32 FG Moves, where any moves
of Int8 and Uint8 from a register other than the first four general
purpose registers would be bogus.
The moves would generate to move the second byte of the first four
GP registers because the other four registers do not have byte
registers.
This change also fixes an issue where X64 byte register moves would
generate incorrect bytecode for otherwise correct instruction prints.
It would for instance print "movb [rsp],rdi", but emit "movb [rsp],bh".
This change also fixes a bug in NativeFpuRegistersLocation::Equals
that cause different FPU regs. to compare equal despite being different
kinds.
This in turn caused moves between these different regs. to be dropped
because they looked like no-ops.
See also:
https://dart-review.googlesource.com/c/sdk/+/221624
TEST=Existing.
Cq-Include-Trybots: luci.dart.try:vm-kernel-linux-debug-ia32-try,vm-kernel-nnbd-win-release-ia32-try
Change-Id: I09e69295c8a522d74f8a8fd817188b4de656c619
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237690
Reviewed-by: Daco Harkes <dacoharkes@google.com >
Commit-Queue: Clement Skau <cskau@google.com >
2022-03-18 18:15:37 +00:00
Aske Simon Christensen
58cad00468
[dart2wasm] Initialize the function class early.
...
Subclasses of the _Function class are generated on the fly as fields
with function types are encountered. Therefore, this class must be early
in the initialization order.
Change-Id: Ia0b998c443af9f6bdb4af512f6da99e6e3767c1f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237681
Reviewed-by: Joshua Litt <joshualitt@google.com >
Commit-Queue: Aske Simon Christensen <askesc@google.com >
2022-03-18 17:44:57 +00:00
Keerti Parthasarathy
a77ee421d9
Add support for documents symbols to Cider
...
Change-Id: I0fb225a09b4a4f12ee1440dd94ff3dc2d9363a82
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237748
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Keerti Parthasarathy <keertip@google.com >
2022-03-18 16:53:58 +00:00
pq
5c0d82b3ab
bump DEPS to pull in lints v2.0.0
...
Change-Id: Id0165bb7d37b50382ac85fa2929051435e77f61a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237746
Reviewed-by: Jake Macdonald <jakemac@google.com >
Commit-Queue: Phil Quitslund <pquitslund@google.com >
2022-03-18 16:35:27 +00:00
Danny Tuppeny
9a49921c6f
[analyzer] Don't produce nested LinkedEditGroups
...
Fixes https://github.com/dart-lang/sdk/issues/48612 .
Change-Id: Ibe8e5036420e24a1dc5cc36f93e42eded607eaf5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237820
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2022-03-18 16:08:40 +00:00
Ahmed Ashour
c51b09bd4e
[analyzer] fix require_trailing_commas for assertions
...
Fixes #48605
Change-Id: I62b449b326827e6f289d90f96d8d7658d28d0615
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237694
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2022-03-18 15:58:48 +00:00
Jake Macdonald
8d2c630052
add OmittedTypeAnnotation and support in code objects
...
Bug: https://github.com/dart-lang/language/issues/2154
Change-Id: Ie48d308a822798da22ea38954774e393f81e2e2a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237740
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Commit-Queue: Jake Macdonald <jakemac@google.com >
2022-03-18 14:30:07 +00:00
Martin Kustermann
873978ccff
[gardening] Run subtests in parallel to avoid timeout for lib/isolate/spawn_uri__package_uri__test
...
Should make this test run within the normal timeout period.
TEST=ci
Change-Id: Ie8048a6cc7c31b193cf326bf9742fad279411b44
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237688
Reviewed-by: Tess Strickland <sstrickl@google.com >
Commit-Queue: Martin Kustermann <kustermann@google.com >
2022-03-18 13:27:50 +00:00
Sam Rawlins
d5cc53a1b8
Prefer for-loop over forEach; other little fixes
...
These linter fixes help prepare analyzer for lints 2.0.0
Change-Id: Ic942fa367965edac479b917cbbb601b30da8b53c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237766
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Samuel Rawlins <srawlins@google.com >
2022-03-18 03:37:47 +00:00
Konstantin Shcheglov
e253d467ae
Fix for reporting UNUSED_ELEMENT_PARAMETER when used via super-formal.
...
Change-Id: I334b2b30dd29ae61fb7fbf3bf2af8e68cf969a3b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237767
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2022-03-18 02:14:38 +00:00
pq
d2882856ef
lints 2.0 fixes
...
In anticipation of lints v 2.0.
See: https://dart-review.googlesource.com/c/sdk/+/237746
Change-Id: If6ec7f0bae314af3aa84e4d8a7b9fc1b8219c128
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237763
Reviewed-by: Nicholas Shahan <nshahan@google.com >
Reviewed-by: Srujan Gaddam <srujzs@google.com >
Commit-Queue: Phil Quitslund <pquitslund@google.com >
2022-03-18 01:42:47 +00:00
Stephen Adams
bc1d9b0a2f
[dart2js] Test for trusted script URLs
...
Change-Id: Ib4726fc522756f9a7cc860aaa09c6b0037a85c70
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237638
Reviewed-by: Sigmund Cherem <sigmund@google.com >
Commit-Queue: Stephen Adams <sra@google.com >
2022-03-18 01:09:47 +00:00
Darren Chan
019b6f110b
Increase analysis server shutdown timeout.
...
Fixes https://github.com/dart-lang/sdk/issues/48584 .
Tested on infra CQ (see http://tqr/509011 vs http://fxr/659793 ).
Also logs an error if the server shutdown times out.
Change-Id: Idd126f915c2b00f7331a51f0f3d527452b540a59
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237780
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Auto-Submit: Darren Chan <chandarren@google.com >
Commit-Queue: Darren Chan <chandarren@google.com >
2022-03-18 00:35:07 +00:00
pq
47ac47fe90
lints 2.0 fixes
...
In anticipation of lints v 2.0.
(Note the ignores -- I was leery of making API changes but happy to with some guidance.)
See: https://dart-review.googlesource.com/c/sdk/+/237746
Change-Id: I93323e912911bbd62a583b379f0f8140a8ca448d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237764
Reviewed-by: Ben Konyi <bkonyi@google.com >
Commit-Queue: Phil Quitslund <pquitslund@google.com >
2022-03-17 23:41:27 +00:00
Ben Konyi
b036052077
Reland "[ Service ] Update VM service message to not reference Observatory"
...
This reverts commit ee5837aa7a .
Updated Intellij plugins have been published which support the new
message.
TEST=CQ
Change-Id: I81f6d878f036991a95cc1f58d3102015e77aa609
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237741
Reviewed-by: Siva Annamalai <asiva@google.com >
Commit-Queue: Ben Konyi <bkonyi@google.com >
2022-03-17 23:15:57 +00:00
pq
47a52fc5de
lint 2.0 fixes
...
In anticipation of lints v 2.0.
See: https://dart-review.googlesource.com/c/sdk/+/237746
Change-Id: I42bcdfa43d4707324622b498c57dde6e2fe1f13b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237762
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Phil Quitslund <pquitslund@google.com >
2022-03-17 23:11:28 +00:00
Paul Berry
fd02fec0fc
Remove deprecated "SCREAMING CAPS" constants from dart:io.
...
Fixes #34218 .
Bug: https://github.com/dart-lang/sdk/issues/34218
Change-Id: Ibe936dc6ed8951b2a0c53997b7d33bb8c7afe8cd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/236840
Reviewed-by: Alexander Aprelev <aam@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2022-03-17 23:00:57 +00:00
Brian Wilkerson
ef00a01289
Remove an unused parameter from one of the test classes
...
Change-Id: I66b66816c8fec84bfdec6eafc8ce17f71361b879
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237743
Auto-Submit: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2022-03-17 22:24:37 +00:00
Danny Tuppeny
02d9c3e6a5
[dds] Improve suppression of auto-resuming threads when attaching to processes
...
Hopefully fixes https://github.com/dart-lang/sdk/issues/48274 .
Change-Id: I893a1f5dee54410986644a52b7c2bb406d4e51f3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237683
Reviewed-by: Ben Konyi <bkonyi@google.com >
Commit-Queue: Ben Konyi <bkonyi@google.com >
2022-03-17 19:07:36 +00:00
Joshua Litt
c2a63d7cc8
[dart2js] Add a 'modular analysis' phase.
...
Change-Id: Idda666911a15e1726a15db65eb0cce2733851fdc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237633
Reviewed-by: Mark Zhou <markzipan@google.com >
Commit-Queue: Joshua Litt <joshualitt@google.com >
2022-03-17 19:06:16 +00:00
Konstantin Shcheglov
f1a753a338
Don't look for .packages while creating Workspace.
...
Change-Id: I8903f21caad6d0920dc2dca8f2a20137540198b4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237722
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2022-03-17 17:57:13 +00:00
Nate Bosch
8f563a4f35
Update to the latest package:test
...
R=jakemac@google.com
Change-Id: Iac051b5cfaf80717125a4011ff39c437e62aba53
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237723
Auto-Submit: Nate Bosch <nbosch@google.com >
Commit-Queue: Nate Bosch <nbosch@google.com >
Reviewed-by: Jake Macdonald <jakemac@google.com >
Commit-Queue: Jake Macdonald <jakemac@google.com >
2022-03-17 17:51:07 +00:00
Konstantin Shcheglov
592bfc0174
Remove newDotPackagesFile(), related from file_paths, context location / manager.
...
Change-Id: I0f3c067b47e4d0f6171b8a26d34fc173df983c29
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237637
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2022-03-17 17:40:16 +00:00
Konstantin Shcheglov
073db61a4e
Add implicit arguments for super-formal parameters during constant evaluation.
...
Change-Id: I1150ebfc9bcdad53ffb38504cff97c2ea9aea5cb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237721
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2022-03-17 17:39:16 +00:00
Keerti Parthasarathy
a73357a995
Add a helper class to use kythe from cider.
...
Change-Id: I498cc5acc436b319f3b05641b24b37c106a80027
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237181
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Keerti Parthasarathy <keertip@google.com >
2022-03-17 17:23:46 +00:00
Ben Konyi
400bad7544
[ package:vm_service ] Mark endTime, lastReadTime, and lastWriteTime as nullable
...
These properties of `SocketStatistic` were mistakenly marked as
non-nullable but are not always returned as part of the response from
the service extension.
Change-Id: I996d8bdd9ff3b2acd00ce388582042b86fb95301
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237632
Reviewed-by: Kenzie Davisson <kenzieschmoll@google.com >
Commit-Queue: Ben Konyi <bkonyi@google.com >
2022-03-17 16:47:57 +00:00
Ahmed Ashour
3ebb07c016
[analyzer] AddTrailingComma to handle FormalParameterList
...
Fixes #48578
Change-Id: If3f7d4e407512117729396ca7582f1923f55aab7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237660
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2022-03-17 16:47:47 +00:00
Johnni Winther
280a87df1e
[cfe] Change expression_suite to use embedded sources
...
This changes that expression_suite tests to embed the needed source
code in the yaml file. Single source and multi sources are supported.
When using a single source, the file name is implicitly "main.dart"
and the "position" and "entry_point" yaml properties are updated to
supports this, meaning that the yaml files should only use file names
when using multiple sources.
Change-Id: Ia6756eb86a7b72dea2187f72b9f2c75c28783a0b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237680
Reviewed-by: Jens Johansen <jensj@google.com >
Commit-Queue: Johnni Winther <johnniwinther@google.com >
2022-03-17 14:17:26 +00:00
Alexander Thomas
69f433b701
[co19] Roll co19 to 74ba459aecc908d5db91531f020a3f74e9aa1b4d
...
2022-03-16 eernst@google.com Fixes needed based on roll f5124538 (dart-lang/co19#1323 )
2022-03-14 sgrekhov@unipro.ru Fixes dart-lang/co19#1310 . Add language version 2.16 (dart-lang/co19#1314 )
2022-03-10 519320+chloestefantsova@users.noreply.github.com Correct an enhanced-enum test to alow setters named values (dart-lang/co19#1312 )
2022-02-25 sgrekhov@unipro.ru dart-lang/co19#993 . Added tests for Abi class
2022-02-25 sgrekhov@unipro.ru dart-lang/co19#1258 . Added test for a generic enum which does have a regular-bounded instantiate-to-bounds result
2022-02-24 sgrekhov@unipro.ru Fixes dart-lang/co19#1308 . Make `UriData` tests case-insensitive
2022-02-24 sgrekhov@unipro.ru dart-lang/co19#1258 . Not regular-bounded enum test added
2022-02-21 irina.arkhipets@gmail.com Merge remote-tracking branch 'remotes/origin/weak-reference-fix'
2022-02-21 sgrekhov@unipro.ru Revert accidental commits
2022-02-21 sgrekhov@unipro.ru dart-lang/co19#1305 . Some cascaded errors previously reported by CFE removed
2022-02-21 sgrekhov@unipro.ru dart-lang/co19#1258 . Added tests for overridden == operator
2022-02-21 sgrekhov@unipro.ru dart-lang/co19#1260 . Added test for callback that throws an exception
2022-02-21 sgrekhov@unipro.ru Fixes dart-lang/co19#1307 . Remove overridden == operator from enum
2022-02-21 sgrekhov@unipro.ru dart-lang/co19#1305 . Some cascaded errors previously reported by CFE removed
2022-02-21 sgrekhov@unipro.ru dart-lang/co19#1260 . Added test for callback that throws an exception
2022-02-21 sgrekhov@unipro.ru dart-lang/co19#1258 . Added tests for overridden == operator
2022-02-20 sgrekhov@unipro.ru Fixes dart-lang/co19#1307 . Remove overridden == operator from enum
2022-02-19 sgrekhov@unipro.ru dart-lang/co19#1260 . Fixed tests that check attachment of the same object to finalizer several times
2022-02-18 irina.arkhipets@gmail.com dart-lang/co19#1260 : Weak reference tests updated.
2022-02-18 sgrekhov@unipro.ru dart-lang/co19#1258 . More implementing enums tests added
2022-02-17 sgrekhov@unipro.ru Fixes dart-lang/sdkdart-lang/co19#48412. Different issues fixed in Finalizer tests
2022-02-17 sgrekhov@unipro.ru dart-lang/co19#1260 . Finalizer test improved
2022-02-17 sgrekhov@unipro.ru dart-lang/co19#1260 . Minor code enhancement
2022-02-16 sgrekhov@unipro.ru dart-lang/co19#1260 . Typo fixed
2022-02-16 sgrekhov@unipro.ru dart-lang/co19#1260 . Fix attach to finalizer tests
2022-02-16 sgrekhov@unipro.ru dart-lang/co19#1260 . Finalizer tests fixed and refactored
2022-02-16 sgrekhov@unipro.ru dart-lang/co19#1260 . Another WeakReference tests added
2022-02-15 irina.arkhipets@gmail.com dart-lang/co19#1260 : Finalizer tests updated.
2022-02-15 sgrekhov@unipro.ru Fixes dart-lang/sdkdart-lang/co19#48391. Use function with 'no-inline' to create a WeakReference and to lost link to its target
2022-02-15 irina.arkhipets@gmail.com dart-lang/co19#1260 : Finalizer tests updated.
2022-02-14 sgrekhov@unipro.ru dart-lang/co19#130 . Roll failure fixed
Cq-Include-Trybots: dart/try:analyzer-nnbd-linux-release-try,dart2js-nnbd-linux-x64-chrome-try,ddc-nnbd-linux-release-chrome-try,front-end-nnbd-linux-release-x64-try,vm-kernel-nnbd-linux-debug-x64-try,vm-kernel-nnbd-linux-release-simarm-try,vm-kernel-nnbd-linux-release-simarm64-try,vm-kernel-nnbd-linux-release-x64-try,vm-kernel-nnbd-win-release-x64-try,vm-kernel-precomp-nnbd-linux-debug-x64-try,vm-kernel-precomp-nnbd-linux-release-simarm64-try,vm-kernel-precomp-nnbd-linux-release-x64-try,vm-kernel-precomp-nnbd-mac-release-simarm64-try,vm-kernel-precomp-nnbd-win-release-x64-try
Change-Id: Icc2bea05df29e00b671b2843af7c3c55fa45da35
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237581
Reviewed-by: William Hesse <whesse@google.com >
2022-03-17 14:16:09 +00:00
Jens Johansen
fd4e41a7af
[parser-ish] Better errors on invalid unicode escapes
...
https://github.com/dart-lang/sdk/issues/48542
Change-Id: Icbdcc939a93c737914091c00aaefa3c4efb2dde0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237364
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Commit-Queue: Jens Johansen <jensj@google.com >
2022-03-17 13:57:45 +00:00
Jonas Finnemann Jensen
29d0fe90e4
Bump yaml_edit to 4fadb43801b07f90b3f0c6065dbce4efc6d8d55e
...
Changes:
```
> git log --format="%C(auto) %h %s" df1452b..4fadb43
https://dart.googlesource.com/yaml_edit.git/+/4fadb43 Prepare 2.0.2 release (#7 )
https://dart.googlesource.com/yaml_edit.git/+/46eb45d Do not add trailing whitespace to new map keys (#16 )
https://dart.googlesource.com/yaml_edit.git/+/bd96cbf Fix example usage in README and dartdoc (#17 )
https://dart.googlesource.com/yaml_edit.git/+/0ae6897 CI: fix the branch (#10 )
https://dart.googlesource.com/yaml_edit.git/+/6385372 Only run the golden tests on the vm (#9 )
https://dart.googlesource.com/yaml_edit.git/+/71db634 Drop unneeded dependency on pkg:pedantic (#8 )
https://dart.googlesource.com/yaml_edit.git/+/6f66114 Fix repo location (#6 )
https://dart.googlesource.com/yaml_edit.git/+/151acb4 Bump to version 2.0.1 (#5 )
```
Diff: https://dart.googlesource.com/yaml_edit.git/+/df1452bfe1653286277a1a8f34dddf3e4fbedd9e~..4fadb43801b07f90b3f0c6065dbce4efc6d8d55e/
Change-Id: I409673535a9e7c9dd78e6a8cf5c522d9e1ef1ab4
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237682
Auto-Submit: Jonas Jensen <jonasfj@google.com >
Reviewed-by: Sarah Zakarias <zarah@google.com >
Commit-Queue: Sarah Zakarias <zarah@google.com >
2022-03-17 12:44:55 +00:00
Johnni Winther
acc535dfab
[cfe] Show annotations on library dependencies
...
This updates ast-to-text to show the annotations on import/exports. A
test is added that uses augmentation libraries to show that the
annotations are not currently ascribed to the correct library dependency.
Change-Id: I340c1ab920b16ff08dd9ac36ee9be4d2d651b4a5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237301
Reviewed-by: Chloe Stefantsova <cstefantsova@google.com >
Commit-Queue: Johnni Winther <johnniwinther@google.com >
2022-03-17 09:38:25 +00:00
Konstantin Shcheglov
b2044efef7
Look for and build package_config.json files in PluginManager.
...
Change-Id: Iea851a2c773163a274b5ffc7259b2647aaa5099d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237640
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2022-03-17 03:48:23 +00:00
Konstantin Shcheglov
963bd7c165
Add AnalysisContext.changeFile()
...
Change-Id: I42d215e872322cace019bc64f04a74d883e9849e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237628
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2022-03-17 00:33:34 +00:00
Srujan Gaddam
a16bd37ed2
[dart:html] Change AudioNode.connect to be nullable
...
AudioNode.connect can return undefined in the case where
destination is an AudioParam. Note this is not a breaking
change since it's a private method. This unbreaks users
who use native null assertions.
Change-Id: I517863798b0ebe4859d195dcadc2696716ebc8a8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237500
Commit-Queue: Srujan Gaddam <srujzs@google.com >
Reviewed-by: Riley Porter <rileyporter@google.com >
2022-03-17 00:28:05 +00:00
Ryan Macnak
c9d2394c02
[infra] Remove references to unsupported ARMv6 and ARMv5TE.
...
Change-Id: I2fb2f438940866333c7d34d26f7eb4c447b25a95
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237624
Reviewed-by: William Hesse <whesse@google.com >
Commit-Queue: Ryan Macnak <rmacnak@google.com >
2022-03-17 00:07:54 +00:00
Konstantin Shcheglov
e2f615fa9d
Remove the temporary SummaryDataStore constructor.
...
Change-Id: Id14fc6502bb0885b6843748a1ed833656e1a2df9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237625
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Samuel Rawlins <srawlins@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2022-03-16 23:53:45 +00:00
Konstantin Shcheglov
bff94a4c3a
Always provide 'isNonNullableByDefault' arguments for ErrorReporter.
...
Change-Id: If556a25d5ce6d0d33e55d2cf8fb2df950d3959a6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237626
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2022-03-16 23:53:35 +00:00
Ryan Macnak
981d569821
[vm, compiler] Make use of load/store-pair with SIMD registers on ARM64.
...
TEST=ci
Change-Id: I140ffdce400c7dfa8a51b79e56f585d9edee5389
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237520
Reviewed-by: Alexander Markov <alexmarkov@google.com >
Commit-Queue: Ryan Macnak <rmacnak@google.com >
2022-03-16 22:51:04 +00:00
Brian Wilkerson
844ca214c4
Correctly handle a trailing comma in convert_to_super_parameter
...
Change-Id: I8acfe80106666d9105f0c7a4c5e8c6352635e2bf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237601
Reviewed-by: Phil Quitslund <pquitslund@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2022-03-16 21:41:44 +00:00
Chloe Stefantsova
f83b5c251d
[ddc] Update the test that declared a custom 'index' in an enum
...
Landing of https://dart-review.googlesource.com/c/sdk/+/237365 made
the test fail due to a custom declaration of a member named
'index'. This CL adjusts the test, removing the declaration.
Change-Id: I8f967a6ec473cb1aac8690d740d90647e01bc55f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237584
Auto-Submit: Chloe Stefantsova <cstefantsova@google.com >
Reviewed-by: Mark Zhou <markzipan@google.com >
Commit-Queue: Mark Zhou <markzipan@google.com >
2022-03-16 21:28:44 +00:00
Konstantin Shcheglov
5bd060484b
Fix order of inference for super-formal parameters.
...
Change-Id: Ie98663d1788b14d4622e692b446756d8c1c9b763
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237629
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Auto-Submit: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2022-03-16 20:31:04 +00:00
Konstantin Shcheglov
408083ccad
Use PluginFiles instead of List<String> in PluginManager.
...
Change-Id: I517830dfd388af6ac293ff7eea2ea8840c60fc01
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/237623
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2022-03-16 18:36:24 +00:00