master
Name already in use
Commits on Dec 30, 2022
-
[cfe] Desugar pattern variable assignments
Part of #49749 Change-Id: Ibae19d0e64f023aea047b007d73f3cee9910d259 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277683 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Chloe Stefantsova <cstefantsova@google.com>
Commits on Dec 29, 2022
-
[cfe] Support generic inline class constructors
Change-Id: Ibd12b14e1e8a1811734b4773c842e72a7fcb300c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277684 Commit-Queue: Johnni Winther <johnniwinther@google.com> Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
-
[cfe] Emit error for mixing in class outside of its library except mi…
…xin classes. It is an error to mix in a class declaration that does not have the 'mixin' modifier, outside of its library for class declarations in a library version lower than sealed class' release version. Change-Id: I318bb243705748eae60482b6c3513669f1cbb90c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/275440 Reviewed-by: Johnni Winther <johnniwinther@google.com>
-
[cfe] Handle inline class method access in inference visitor
Change-Id: Ifc0b6ecafc6f9223147a0aec772d2af279cae176 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277680 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
-
[cfe] Support inline class constructor bodies
This disables the support for instance method access which needs to be implemented differently. This will be done in a follow-up. Change-Id: I2cd50cc4c7aba73859a7e1d81af975d87f10254a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277640 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
-
[benchmarks/ffi] Add
FfiStructCopy
benchmark`_memCopy` inside `dart:ffi` is currently doing a per-byte copy in Dart. This is rather slow, we should optimize this with the `MemoryCopyInstr` in the VM. This CL adds benchmarks to report the number of bytes copied per second. Adds only benchmarks with copies of 32^(0..3), as non-power-of-two benchmarks did not seem to behave differently. Since legacy mode is no longer benchmarked, the dart2 version of this benchmark is omitted. Benchmarks set up according to https://dart-review.googlesource.com/c/sdk/+/200188 Bug: #43967 Change-Id: I3d9be8de725820fd3365a7dc85d15174bddc1ae6 Cq-Include-Trybots: luci.dart.try:benchmark-linux-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277522 Reviewed-by: Jonas Termansen <sortie@google.com> Commit-Queue: Daco Harkes <dacoharkes@google.com>
-
Closes #50786 TEST=ci GitOrigin-RevId: 781a38e Change-Id: Ia3c615012d1bac3f0cf64dc01c2ceb40d50d1193 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/276684 Reviewed-by: Alexander Markov <alexmarkov@google.com> Commit-Queue: Martin Kustermann <kustermann@google.com>
Commits on Dec 28, 2022
-
[cfe] Check inline class constructor initializers
Change-Id: I6872ccd948f679e1e0b04b9f59bea833df11d5a2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277141 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
-
[cfe] Add ClassDeclaration and ConstructorDeclaration interfaces
This prepares for supporting constructors in inline classes. Change-Id: I54e5c873f9352182fd197fe52177fc841fed426e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277101 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
-
[cfe] fix order of pattern fields
Fixes #50826 Change-Id: I5e71c4dd0e4f937c4570e4851cd4c1e3446d888a Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277003 Commit-Queue: Chloe Stefantsova <cstefantsova@google.com> Reviewed-by: Chloe Stefantsova <cstefantsova@google.com>
Commits on Dec 27, 2022
-
[analysis_server] Add semantic highlighting for sealed class modifier.
Enable the 'sealed-class' experiment for the highlighting test and add the highlighting for the modifier. Change-Id: I6affdab506c29ab9d92b2d6315a93d09396bafaa Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277201 Reviewed-by: Samuel Rawlins <srawlins@google.com> Commit-Queue: Kallen Tu <kallentu@google.com>
-
[dart2js] Start using
useDataKinds
againChange-Id: Ief4887873dbdb493bf164658393cd0e998e05e6b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277361 Reviewed-by: Nate Biggs <natebiggs@google.com> Commit-Queue: Stephen Adams <sra@google.com>
-
Bump web_socket_channel to a90e740dad4739d578e09eb0e076ac2846f9404e
Changes: ``` > git log --format="%C(auto) %h %s" 1b0561c..a90e740 https://dart.googlesource.com/web_socket_channel.git/+/a90e740 Add WebSocketChannel.`ready` field and IOWebSocketChannel factory `connectTimeout` parameter (240) ``` Diff: https://dart.googlesource.com/web_socket_channel.git/+/1b0561cfec8ff7e9465896eb340ea3c382b59393~..a90e740dad4739d578e09eb0e076ac2846f9404e/ Change-Id: I1026a9804700a9d61122027305ba44876cca5b35 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277560 Commit-Queue: Brian Quinlan <bquinlan@google.com> Reviewed-by: Brian Quinlan <bquinlan@google.com> Auto-Submit: Nate Bosch <nbosch@google.com> Commit-Queue: Nate Bosch <nbosch@google.com>
-
[tests/ffi] Switch over Android & QEMU to nnbd tests
This CL switches over the bots that are manually configured to run the `ffi_2` test suite to the `ffi` test suite instead. This changes these tests from legacy to nnbd mode. The suites being converted are the Android and QEMU FFI tests. This CL does _not_ switch over the bots that run the default suites. This CL also skips all FFI tests that use the Dart API symbols on Windows precompiled. These tests will never work in that mode and should be skipped instead. Analysis of FFI test bots: go/dart-ffi-legacy-test-turndown Bug: #50633 Change-Id: I4e21ad5a036b83d8240fc662ed1c159305f2e297 Cq-Include-Trybots: luci.dart.try:vm-ffi-android-debug-arm-try,vm-ffi-android-debug-arm64c-try,vm-ffi-android-product-arm-try,vm-ffi-android-product-arm64c-try,vm-ffi-android-release-arm-try,vm-ffi-android-release-arm64c-try,vm-precomp-ffi-qemu-linux-release-arm-try,vm-precomp-ffi-qemu-linux-release-riscv64-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277521 Commit-Queue: Daco Harkes <dacoharkes@google.com> Reviewed-by: Jonas Termansen <sortie@google.com>
-
[co19] Roll co19 to 96b727142502dfcc8d26d90579f9e87eff999dcb
2022-12-23 sgrekhov22@gmail.com Fixes dart-lang/co19#1612. Fix typo in list pattern tests (dart-lang/co19#1615) 2022-12-23 sgrekhov22@gmail.com Fixes dart-lang/co19#1613. Fixed wrong use of relational operators (dart-lang/co19#1616) 2022-12-23 sgrekhov22@gmail.com Fixes dart-lang/co19#1611. Fix typo in wildcards tests (dart-lang/co19#1614) Change-Id: Ie6915318ece9ab4eaa6fb9eacbce11a21702996b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277520 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Chloe Stefantsova <cstefantsova@google.com>
Commits on Dec 26, 2022
-
Bump ossf/scorecard-action from 2.0.6 to 2.1.2
Closes #50847 GitOrigin-RevId: 00491a1 Change-Id: Ie2a231b6247354159e5b7bb0c8c6a2c7d2d0d1c2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277440 Reviewed-by: Kevin Moore <kevmoo@google.com> Commit-Queue: Kevin Moore <kevmoo@google.com>
Commits on Dec 23, 2022
-
[cfe] Add desugaring of simple cases of pattern variable declaration
The late variables aren't supported in this CL. Part of #49749 Change-Id: Iebc50f716e3575c6dd7bce915e5e294d4c8c8363 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/276525 Commit-Queue: Chloe Stefantsova <cstefantsova@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>
Commits on Dec 22, 2022
-
Don't mutate argument to dart:developer's postEvent.
Bug: #50713 Change-Id: Iadc3eb0b4306d7500a03bd77b8b6dc3c19227200 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/275984 Commit-Queue: Dan Chevalier <danchevalier@google.com> Reviewed-by: Ben Konyi <bkonyi@google.com>
-
[ddc] Cleanup uses of ignored cli args
The `-k`, `--kernel`, and `--dart-sdk` flags are ignored by DDC. Change-Id: Ic2bf5c87a26cab7dcbcfeafa39dae1ea1b20c711 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277180 Reviewed-by: Nate Bosch <nbosch@google.com> Reviewed-by: Mark Zhou <markzipan@google.com> Commit-Queue: Nicholas Shahan <nshahan@google.com>
-
Revert "[3.0 alpha][VM/Service] Update VM Service spec to v4.0"
This reverts commit c21f7c8. Reason for revert: Appears to cause issues when flutter app is launched with VSCode or Android Studio, please see flutter/flutter#117526 Original change's description: > [3.0 alpha][VM/Service] Update VM Service spec to v4.0 > > This CL updates the VM Service spec to version 4.0 in order to add > support for records. Some deprecated procedures and properties will also > be removed in v4.0. > > As described in service.md's changelog, this CL: > Adds `Record` and `RecordType` `InstanceKind`s, adds a deprecation > notice to the `decl` property of `BoundField`, adds `name` property to > `BoundField`, adds a deprecation notice to the `parentListIndex` > property of `InboundReference`, changes the type of the `parentField` > property of `InboundReference` from `@Field` to `@Field|string|int`, > adds a deprecation notice to the `parentListIndex` property of > `RetainingObject`, changes the type of the `parentField` property of > `RetainingObject` from `string` to `string|int`, removes the deprecated > `setExceptionPauseMode` procedure, removes the deprecated `timeSpan` > property from `CpuSamples`, and removes the deprecated `timeSpan` > property from `CpuSamplesEvent. > > TEST=CI > > Issue: #49725 > Change-Id: I7bf61c1ba11a0c7fd95a10c9c02c14282062b802 > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/268521 > Commit-Queue: Derek Xu <derekx@google.com> > Reviewed-by: Ben Konyi <bkonyi@google.com> # Not skipping CQ checks because original CL landed > 1 day ago. Issue: #49725 Change-Id: Ieb2a09653192e165ea8cf68965647e346e3a318b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277181 Reviewed-by: Derek Xu <derekx@google.com> Reviewed-by: Siva Annamalai <asiva@google.com> Auto-Submit: Siva Annamalai <asiva@google.com> Commit-Queue: Siva Annamalai <asiva@google.com>
-
CP issue template assignees - remove whesse
Closes #50822 GitOrigin-RevId: 05e2bf2 Change-Id: I31ff413bbbee7910438f1d45ca3cb632464db02d Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277040 Commit-Queue: William Hesse <whesse@google.com> Reviewed-by: Kevin Moore <kevmoo@google.com> Reviewed-by: Michael Thomsen <mit@google.com>
-
[dart2js] Prep ssa/builder.dart for null safety migration.
Change-Id: I7ff792c38bd2257bcff55186e9f6f0cabf5f9021 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277160 Reviewed-by: Stephen Adams <sra@google.com> Commit-Queue: Nate Biggs <natebiggs@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com>
-
[analyzer/cfe] Use the 'class-modifiers' flag for the 'mixin' class m…
…odifier. Separating the class modifiers from the 'sealed' modifier. Change-Id: Ifec865c9f612b147706be9b7c797167ef6788e90 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277043 Reviewed-by: Samuel Rawlins <srawlins@google.com> Commit-Queue: Kallen Tu <kallentu@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>
-
[dart2js] Migrate ssa/branch_builder.dart to null safety.
Change-Id: I8d968b65cda73e391232c2cde872424439e93bb1 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277081 Commit-Queue: Nate Biggs <natebiggs@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com>
-
[dart2js] Migrate ssa/loop_handler.dart to null safety.
Change-Id: I0391fe611d55d63a18540ea5e3410da585a377ed Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277080 Reviewed-by: Sigmund Cherem <sigmund@google.com>
-
[dart2wasm] Emit closures and contexts for subexpressions of asserts.
Change-Id: Ibe0741d360caa4747ad4a3eea888b1a9661af111 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277050 Reviewed-by: Kevin Moore <kevmoo@google.com> Commit-Queue: Jackson Gardner <jacksongardner@google.com>
-
[cfe] Remove forEachDeclaredConstructor and forEachDeclaredField from…
… SourceClassBuilder + make the iterators generic functions to filter on the member type and use the iterators instead. Change-Id: I24f636e37ab5e1a7f0cbdac9523d79ebc093e1bd Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/276904 Reviewed-by: Chloe Stefantsova <cstefantsova@google.com> Commit-Queue: Johnni Winther <johnniwinther@google.com>
-
Reland "[native_stack_traces] Remove initial spaces check in stack tr…
…ace lines." This is a reland of commit ae4ee87 Our Dart tests that check for symbolic stack traces assume the frame number comes at the very start of the line. Thus, be lenient about how many spaces we see before non-symbolic stack traces, but only generate a prefix for the resulting symbolic stack traces if the original stack trace had any initial non-whitespace content. Original change's description: > [native_stack_traces] Remove initial spaces check in stack trace lines. > > The strictness of the old "check for four spaces" was causing failures > in `flutter symbolize`, and there's no reason to check how much initial > whitespace we got prior to the line contents anyway. > > TEST=pkg/native_stack_traces/test/convert/regress_262474517_test > > Change-Id: I6a6e31732cb2a5b5d40a088b9a04877052726be2 > Bug: b/262474517 > Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/276905 > Reviewed-by: Daco Harkes <dacoharkes@google.com> > Commit-Queue: Tess Strickland <sstrickl@google.com> Bug: b/262474517 Change-Id: I3b0753404e00d535cf438e79078736f5d9a10dbc Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-linux-release-x64-try Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277001 Reviewed-by: Daco Harkes <dacoharkes@google.com> Commit-Queue: Tess Strickland <sstrickl@google.com>
-
[cfe] Add desugaring of non-matching rest pattern
Closes #50797 Part of #49749 Change-Id: Ide77d1ee262f8778de7eb8743b04508ee290ee10 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/276940 Reviewed-by: Johnni Winther <johnniwinther@google.com> Commit-Queue: Chloe Stefantsova <cstefantsova@google.com>
-
[dart2js] Migrate ssa/jump_handler.dart to null safety.
Change-Id: I23475740209738302e17ef298394bccb847a341f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277060 Commit-Queue: Nate Biggs <natebiggs@google.com> Reviewed-by: Sigmund Cherem <sigmund@google.com>
Commits on Dec 21, 2022
-
[ddc] Always explicitly pass null safety mode
Add explicit mode flags for DDC related compiles. Change-Id: Icb9e21a4b8786a0de620bcc387cafbe8d27d0e86 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277042 Reviewed-by: Nate Bosch <nbosch@google.com> Commit-Queue: Nicholas Shahan <nshahan@google.com> Reviewed-by: Mark Zhou <markzipan@google.com>
-
[vm/reload] Ensure FileModifiedCallback can handle uris on Windows.
Bug: #49634 Change-Id: I65b5c2a0559fdc51c003ffa6e955008850137a1c TEST=bad_reload_test on Windows Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/277044 Commit-Queue: Alexander Aprelev <aam@google.com> Reviewed-by: Siva Annamalai <asiva@google.com>
-
[cfe] Implement desugaring of ObjectPattern for simple cases
This CL doesn't cover, among other, the following * Non-class identifiers * Some erroneous cases Part of #49749 Change-Id: I9c6aa9194c09cc2b10b438892b26a01c260e1baf Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/275923 Commit-Queue: Chloe Stefantsova <cstefantsova@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>
-
[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>
-
[analyzer/cfe] Add an experiment flag for class modifiers.
Flag for 'base', 'final', 'interface' and mixin classes. Change-Id: I51037678826527a36b6dae731f43c8f36fead215 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/276765 Commit-Queue: Kallen Tu <kallentu@google.com> Reviewed-by: Nate Bosch <nbosch@google.com> Reviewed-by: Brian Wilkerson <brianwilkerson@google.com> Reviewed-by: Johnni Winther <johnniwinther@google.com>