Xiao Yu
d968304570
Reland "Revert commits part of #40548 which still has some design debates and breaks valid local network http traffic"
...
This is a reland of d84f359786
Original change's description:
> Revert commits part of #40548 which still has some design debates and breaks valid local network http traffic
>
> Bug: https://github.com/flutter/flutter/issues/72723
> Change-Id: Ib5f809fccf1fad69add441fd40c463da8dc8be36
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/192953
> Auto-Submit: Xiao Yu <xster@google.com >
> Commit-Queue: Vyacheslav Egorov <vegorov@google.com >
> Reviewed-by: Vyacheslav Egorov <vegorov@google.com >
> Reviewed-by: Lasse R.H. Nielsen <lrn@google.com >
Bug: https://github.com/flutter/flutter/issues/72723
Change-Id: I466d888b3f324a996f0bef0463e7ab3df3179c56
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195485
Reviewed-by: Vyacheslav Egorov <vegorov@google.com >
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com >
Commit-Queue: Xiao Yu <xster@google.com >
2021-04-16 20:25:36 +00:00
Konstantin Shcheglov
7eda3cfe76
Migrate test/services/refactoring/
...
R=brianwilkerson@google.com
Change-Id: Ica52e54ba277969ae8a3b63627902ba53045397f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195494
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2021-04-16 18:11:16 +00:00
Alexander Thomas
30127ac12d
[build] Convert output bytes to UTF-8 in gn_run_binary
...
The encoding parameter was not available on older versions of python.
Change-Id: I5ba56286d1ec1ac616daaac6006f5e9b0167d01d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195680
Auto-Submit: Alexander Thomas <athom@google.com >
Commit-Queue: Alexander Thomas <athom@google.com >
Commit-Queue: Alexander Aprelev <aam@google.com >
Reviewed-by: Alexander Aprelev <aam@google.com >
2021-04-16 18:03:06 +00:00
Kallen Tu
2ab4ef2a13
[cfe] AbortStatus in return statements in constant evaluator.
...
Change-Id: I2b11774a43b9aa741ada913405154b3abbcf420f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195400
Reviewed-by: Jake Macdonald <jakemac@google.com >
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com >
Commit-Queue: Kallen Tu <kallentu@google.com >
2021-04-16 17:56:16 +00:00
Brian Wilkerson
211018f9fd
Migrate a single test_all file
...
Change-Id: I03436dad857908f03d1bd872cd63e391cd92ac9f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195660
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2021-04-16 17:38:06 +00:00
Konstantin Shcheglov
de09de4976
Migrate lib/src/services/refactoring/
...
Change-Id: I17b11b8ea60ef141444b6c8108189d7a8588217f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195493
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
2021-04-16 16:01:22 +00:00
Dmitry Stefantsov
025bcc486d
[cfe] Use the supertype locations when reporting errors
...
Closes #45626 .
Bug: https://github.com/dart-lang/sdk/issues/45626
Change-Id: I672efb0bba516534151630e6627959e0971840e5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195515
Commit-Queue: Dmitry Stefantsov <dmitryas@google.com >
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Reviewed-by: Erik Ernst <eernst@google.com >
2021-04-16 15:49:12 +00:00
Alexander Thomas
d26ede6f24
[build] Force output encoding to UTF-8 in gn_run_binary
...
This makes it work when the environment uses ASCII.
Change-Id: Iffb3b3ff4da9fc06ed894a97f8aae4c1dc228e06
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195516
Auto-Submit: Alexander Thomas <athom@google.com >
Commit-Queue: Alexander Thomas <athom@google.com >
Commit-Queue: William Hesse <whesse@google.com >
Reviewed-by: William Hesse <whesse@google.com >
2021-04-16 13:54:11 +00:00
Paul Berry
68bb946fc5
Change analyzer ID test offsets for prefixed identifiers.
...
The ID test offset for a prefixed identifier is now the offset of the
identifier after the `.`. This makes the analyzer and CFE behaviors
match much more closely, which eliminates a lot of nuisance
differences in the ID test expectations.
Change-Id: Icef1b2bf56b79bcf584d1eb153bdafd575e6cabb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195483
Commit-Queue: Paul Berry <paulberry@google.com >
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Johnni Winther <johnniwinther@google.com >
2021-04-16 13:07:01 +00:00
Dmitry Stefantsov
903c16e773
[cfe] Don't report locations for function-type type parameters
...
Closes #45660 .
Bug: https://github.com/dart-lang/sdk/issues/45660
Change-Id: I6d28d339c0db1993773988c6bbd7f26bd4147c16
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195514
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Commit-Queue: Dmitry Stefantsov <dmitryas@google.com >
2021-04-16 12:33:51 +00:00
Tess Strickland
3fdecfc169
Revert "[vm] Fix V8 snapshot profile handling of the dispatch table."
...
This reverts commit 5909fd111d .
Reason for revert: Ended up breaking tests on non-x64c as well, investigating.
Original change's description:
> [vm] Fix V8 snapshot profile handling of the dispatch table.
>
> Fixes https://github.com/dart-lang/sdk/issues/45702 .
>
> TEST=Tests listed in the issue above.
>
> Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-linux-debug-x64-try
> Change-Id: Ibf5e3ccf3828c01f9dda47de360314dabe8cb8a9
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195272
> Reviewed-by: Daco Harkes <dacoharkes@google.com >
> Commit-Queue: Tess Strickland <sstrickl@google.com >
TBR=rmacnak@google.com ,dacoharkes@google.com ,sstrickl@google.com
Change-Id: I61d0eb217e7be04a0841fb9e7dddd180e31bed2a
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-linux-debug-x64-try
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195512
Reviewed-by: Tess Strickland <sstrickl@google.com >
Commit-Queue: Tess Strickland <sstrickl@google.com >
2021-04-16 09:48:57 +00:00
Tess Strickland
5909fd111d
[vm] Fix V8 snapshot profile handling of the dispatch table.
...
Fixes https://github.com/dart-lang/sdk/issues/45702 .
TEST=Tests listed in the issue above.
Cq-Include-Trybots: luci.dart.try:vm-kernel-precomp-linux-debug-x64-try
Change-Id: Ibf5e3ccf3828c01f9dda47de360314dabe8cb8a9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195272
Reviewed-by: Daco Harkes <dacoharkes@google.com >
Commit-Queue: Tess Strickland <sstrickl@google.com >
2021-04-16 09:08:13 +00:00
Erik Ernst
cf7bfc5d3c
Fix corelib/type_tostring_test.dart
...
Change-Id: I6eb9c6ca54bb4f00bfd1011d10f291ea5f672972
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195508
Commit-Queue: Erik Ernst <eernst@google.com >
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com >
2021-04-16 07:33:57 +00:00
Mayank Patke
b23c6fb544
[dart2js] Disable CFE lowering for initialized late statics.
...
No additional work needs to be done in the late lowering since the
existing `_lazy` and `_lazyFinal` mechanisms already do the right thing.
Change-Id: I1dd6cb5ce3c882cac5f0206f1cbc87fd53c6fffe
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195174
Commit-Queue: Mayank Patke <fishythefish@google.com >
Reviewed-by: Johnni Winther <johnniwinther@google.com >
2021-04-16 06:34:27 +00:00
Mayank Patke
5535b1603f
[dart2js] Ensure the _Cell constructor is called eagerly.
...
Change-Id: Ie342505a91061571fe18465e58df5f6f4ef24db7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195173
Reviewed-by: Stephen Adams <sra@google.com >
2021-04-16 06:34:27 +00:00
Mayank Patke
3b4e4f6f47
[dart2js] Cache Cell-specific kernel AST nodes on CoreTypes.
...
Change-Id: I82957eb405d7ab5c76ad1caf90ed510279ec8a7e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195540
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Reviewed-by: Stephen Adams <sra@google.com >
2021-04-16 06:34:27 +00:00
Stephen Adams
7754a868dd
[dart2js] Remove static state accessors
...
Change-Id: I58391845d3e28b041b7bb1746e696610d113ea7f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195511
Reviewed-by: Joshua Litt <joshualitt@google.com >
Commit-Queue: Stephen Adams <sra@google.com >
2021-04-16 03:43:17 +00:00
Stephen Adams
e8f5367219
[benchmarks] Move Richards from internal benchmarks to SDK benchmarks
...
Change-Id: I523b8c29ff97235e2dec0fd50f67ee4e8cd4ef13
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195191
Commit-Queue: Stephen Adams <sra@google.com >
Reviewed-by: Jonas Termansen <sortie@google.com >
2021-04-15 22:29:07 +00:00
Erik Ernst
bb5cb79a2f
Update Dart.g
...
Update Dart.g to handle symbolLiterals, define builtInIdentifier
non-terminal, enable non-function type aliases, delete obsolete
comments. Add `metadata` to n{ormal,amed}ParameterType; add
`extension` to identifierNotFunction.
Change-Id: I130be575265732dcd9ad7708460b2a4326e765c3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195501
Reviewed-by: Lasse R.H. Nielsen <lrn@google.com >
Commit-Queue: Erik Ernst <eernst@google.com >
2021-04-15 22:12:17 +00:00
Nate Bosch
0a5525fdb1
Drop analyzer dependency on test_api
...
The only usage was to pick up `expect` which is exported through the
preferred import `package:test/test.dart`.
Change-Id: I0650901114bdc99e67e5801da636f309ff55f8da
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195491
Auto-Submit: Nate Bosch <nbosch@google.com >
Commit-Queue: Nate Bosch <nbosch@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2021-04-15 22:08:07 +00:00
Nicholas Shahan
8e2539d24c
[ddc] Fix equality tests for Functions
...
Marks `Function` as an extensible type so that DDC knows to use the
symbolized version of the equals operator.
The `Function` class at runtime already has its equals method attached
as the "symbolized" version. Consider `a == b`. When DDC knows `a` is
statically a raw `Function` and non-nullable (more likely with sound
null safety) the generated code should call the symbolized equals
member ex: `a[$_equals](b)`. Without this change the generated code
would be `a.equals(b)` and fail at runtime because the method does
not exist.
With this change co19_2/LibTest/core/Function/operator_eq_A01_t01
starts passing.
Change-Id: I80dd2abbbb04f1b7ab7e21dd14561a45f6e81459
Fixes: https://github.com/dart-lang/sdk/issues/45601
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/194204
Commit-Queue: Nicholas Shahan <nshahan@google.com >
Reviewed-by: Sigmund Cherem <sigmund@google.com >
2021-04-15 22:02:07 +00:00
Paul Berry
0ccb2771a3
Analyzer: change extent for assignability errors with named arguments
...
Previously, if a type mismatch occurred on a named argument, e.g.:
int.fromEnvironment('foo', defaultValue: 'BAD')
the error would be reported on the entire NamedExpression
(`defaultValue: 'BAD'` in this example). Now, the error is just
reported on the expression (`'BAD'` in this example). This makes the
analyzer behavior more self-consistent (since now assignability errors
are now consistently reported at the site of the expression that can't
be assigned). It also makes the analyzer behavior more consistent
with the CFE.
This will make it possible, in a follow-up CL, to eliminate a lot of
the inconsistencies between analyzer and CFE in the "why not promoted"
ID tests.
Change-Id: I17db256959d730a22a5766f65d5c0736b627f244
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195489
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2021-04-15 21:38:37 +00:00
Danny Tuppeny
934be22ab5
[analyzer] Support package descriptions + version numbers in pubspec.yaml package completion
...
Change-Id: I064689814b1f81671be870bb5c8499ebf35ab468
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195077
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2021-04-15 20:24:32 +00:00
Danny Tuppeny
790ceec1ab
[analyzer] Support additional LSP completion trigger characters
...
Fixes https://github.com/Dart-Code/Dart-Code/issues/3211 .
Change-Id: Iad4db41b539990d39f641ff1dd07b174f207891b
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195510
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2021-04-15 20:16:37 +00:00
Joshua Litt
32e3f78ba4
[js_ast] add DeferredStatement to js ast.
...
Change-Id: I921eb7638039435711974d4fc40a3b9471a03f7f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195172
Commit-Queue: Joshua Litt <joshualitt@google.com >
Reviewed-by: Stephen Adams <sra@google.com >
2021-04-15 20:16:27 +00:00
Danny Tuppeny
2dcbd22e0c
[analyzer] Don't send Dart's trigger/commit characters for non-Dart LSP completion registrations
...
Change-Id: I703b183ebd9aedaf87dbbce664107d5bcff14367
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195509
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2021-04-15 19:44:27 +00:00
Stephen Adams
6e48eb730c
[dart2js] Remove 'operatorIsType'
...
Change-Id: I223a2744c401d4b7452853917d1cb5d4474f446f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195486
Reviewed-by: Joshua Litt <joshualitt@google.com >
Commit-Queue: Stephen Adams <sra@google.com >
2021-04-15 18:32:57 +00:00
Paul Berry
1e68c47e68
Migration: make --ignore-errors affect the "rerun" button.
...
Fixes #45665 .
Bug: https://github.com/dart-lang/sdk/issues/45665
Change-Id: I8d238f5117fdaf8b7ffbe31dc8b1dfcb7a52a58d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195183
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2021-04-15 18:26:47 +00:00
Konstantin Shcheglov
4dc165f7fd
Add getUnitElement2(), deprecate getUnitElement().
...
Change-Id: Ib1ed93f215356442ca9db5b8ed5fab99667e996e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195361
Commit-Queue: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
2021-04-15 17:16:27 +00:00
Paul Berry
4e353ca98d
Migration: properly assign types to collection literals.
...
Fixes #45583 .
Change-Id: Ic411856968ec68b5ee6dd74718d08a4e9ea9c0d3
Bug: https://github.com/dart-lang/sdk/issues/45583
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195160
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2021-04-15 17:15:47 +00:00
Alexander Markov
6cf73fc7d9
[vm/compiler] Fix canonicalization of Slots corresponding to captured variables
...
It is possible for 2 slots which correspond to different captured
variables to have the same offset, flags and name.
So Slot::Equals should also take the rest of the information into
account (static type) in order to prevent incorrect canonicalization
of Slot objects.
TEST=runtime/tests/vm/dart/regress_45631_test.dart
Fixes https://github.com/dart-lang/sdk/issues/45631
Change-Id: Ib64dc5b8a83f64efd06f4139949c637d7c6dd3a8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195423
Reviewed-by: Vyacheslav Egorov <vegorov@google.com >
Commit-Queue: Alexander Markov <alexmarkov@google.com >
2021-04-15 16:54:57 +00:00
Paul Berry
3397720738
Analyzer: Add id testing for inferred variable types
...
This parallels the test introduced in
https://dart-review.googlesource.com/c/sdk/+/195260 , but it tests the
analyzer rather than the CFE.
Change-Id: I7751abfcad0e91bf903a5dae2136b80c6714ea35
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195481
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2021-04-15 16:51:47 +00:00
Kallen Tu
4ac265efe5
[cfe] Universal error message for core errors for const functions.
...
Change-Id: I58cbbec918adad5e75ed6a7d6b8fb4bf2dcd6c0e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195380
Reviewed-by: Jake Macdonald <jakemac@google.com >
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com >
Commit-Queue: Kallen Tu <kallentu@google.com >
2021-04-15 16:42:47 +00:00
Danny Tuppeny
dc28e1fee6
[analyzer] Fix unexpected completions at EOF in comments
...
Fixes https://github.com/Dart-Code/Dart-Code/issues/3281
Change-Id: Ica8160977ac682dbf4db0f0b8a64a1ec0d2d9a2e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195505
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2021-04-15 15:36:57 +00:00
Xiao Yu
f560d90059
Revert "Revert commits part of #40548 which still has some design debates and breaks valid local network http traffic"
...
This reverts commit d84f359786 .
Reason for revert: removed some private looking but actually vm-entrypoints used by Flutter engine https://buganizer.corp.google.com/issues/185462669
Original change's description:
> Revert commits part of #40548 which still has some design debates and breaks valid local network http traffic
>
> Bug: https://github.com/flutter/flutter/issues/72723
> Change-Id: Ib5f809fccf1fad69add441fd40c463da8dc8be36
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/192953
> Auto-Submit: Xiao Yu <xster@google.com >
> Commit-Queue: Vyacheslav Egorov <vegorov@google.com >
> Reviewed-by: Vyacheslav Egorov <vegorov@google.com >
> Reviewed-by: Lasse R.H. Nielsen <lrn@google.com >
TBR=lrn@google.com ,vegorov@google.com ,xster@google.com
Change-Id: Ie746805ab7ef214bc4ba6f3582eb1d32672360ee
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: https://github.com/flutter/flutter/issues/72723
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195484
Reviewed-by: Xiao Yu <xster@google.com >
Commit-Queue: Xiao Yu <xster@google.com >
2021-04-15 15:29:28 +00:00
Danny Tuppeny
eb0e7199ac
[analyzer] Fix a null assertion error when completing in comments
...
Change-Id: I6456e951ec8cfe624efd6cbf7696c324e7a4b581
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195504
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2021-04-15 15:18:17 +00:00
Johnni Winther
7e6692b20c
Revert "[kernel] Migrate remaining bin/lib libraries in package:..."
...
Revert submission 195268
Reason for revert: Implicitly triggers running bin/* in sound null safety, revealing an unsafe use of List.length=
Reverted Changes:
I026ace4fd:[cfe] Migrate front_end libraries from wave 3-4
I9ba1f809b:[kernel] Migrate remaining bin/lib libraries in pa...
Change-Id: I3535c45d6eaf970dc5a17b6d7274cd9d6aa16ae2
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195507
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com >
Commit-Queue: Johnni Winther <johnniwinther@google.com >
2021-04-15 14:55:37 +00:00
Johnni Winther
2dbc8b18a2
Revert "[cfe] Migrate front_end libraries from wave 3-4"
...
Revert submission 195268
Reason for revert: Implicitly triggers running bin/* in sound null safety, revealing an unsafe use of List.length=
Reverted Changes:
I026ace4fd:[cfe] Migrate front_end libraries from wave 3-4
I9ba1f809b:[kernel] Migrate remaining bin/lib libraries in pa...
Change-Id: I3eb8130dfd5c21ddcfc33d0efd3150712fda8a47
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195506
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com >
2021-04-15 14:55:37 +00:00
Danny Tuppeny
1f0fe212b2
[analyzer] Migrate LSP spec tests to null-safe
...
Change-Id: I988692263486d277017a057768fcae2edeca3889
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195279
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2021-04-15 14:24:37 +00:00
Paul Berry
8af652ce3d
Analyzer: update id testing for inferred type arguments to handle collection literals.
...
The ID tests for inferred type arguments now include tests for
collection literals, e.g.:
/*<dynamic>*/ [];
The analyzer ID testing code needs to be updated to handle test cases
like these.
Fixes trybot failure with
pkg/analyzer/test/id_tests/inferred_type_arguments_test.
Bug: https://github.com/dart-lang/sdk/issues/45717
Change-Id: I338814acccf3e080bbf8cf167041c52d96ba19cc
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195482
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2021-04-15 14:23:47 +00:00
Brian Wilkerson
bdc6c65b32
Migrate the search support in server
...
Change-Id: If9379ac44cea9ccd5cf15886d0c22624a2b66b2d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195421
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Brian Wilkerson <brianwilkerson@google.com >
2021-04-15 13:37:47 +00:00
Paul Berry
ed9def1467
Analyzer: Add id testing for inferred type arguments
...
This parallels the test introduced in
https://dart-review.googlesource.com/c/sdk/+/195020 , but it tests the
analyzer rather than the CFE.
Change-Id: I5ea1b873561f159a0549acbfdf8c1e639b733435
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195420
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Reviewed-by: Johnni Winther <johnniwinther@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2021-04-15 12:16:17 +00:00
Paul Berry
2ee741692f
Add "why not promoted" support for explicit extension overrides.
...
Bug: https://github.com/dart-lang/sdk/issues/44898
Change-Id: Iea9300cf2cae52355bfa5a71f773c8136da2c644
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195306
Reviewed-by: Konstantin Shcheglov <scheglov@google.com >
Commit-Queue: Paul Berry <paulberry@google.com >
2021-04-15 12:13:27 +00:00
Johnni Winther
dd2b04e41d
[cfe] Migrate front_end libraries from wave 3-4
...
Change-Id: I026ace4fd2563ec26439f630074eb35900839529
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195268
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com >
Commit-Queue: Johnni Winther <johnniwinther@google.com >
2021-04-15 12:04:28 +00:00
Johnni Winther
9feb5330b9
[kernel] Migrate remaining bin/lib libraries in package:kernel
...
Change-Id: I9ba1f809b0340b6d45471d856f2a31cff9534de8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195264
Reviewed-by: Dmitry Stefantsov <dmitryas@google.com >
2021-04-15 12:04:28 +00:00
Vyacheslav Egorov
458be23fa7
[vm_snapshot_analysis] Migrate to null-safety
...
Fixes https://github.com/dart-lang/sdk/issues/45683
TEST=pkg-*-try bots
Cq-Include-Trybots: luci.dart.try:pkg-linux-release-try,pkg-mac-release-try,pkg-win-release-try
Change-Id: Ie10f313da9778d001f9c4fb618997e3b3c781dd0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195263
Commit-Queue: Vyacheslav Egorov <vegorov@google.com >
Reviewed-by: Tess Strickland <sstrickl@google.com >
2021-04-15 12:03:47 +00:00
Alexander Thomas
1bab406d8e
[infra] Migrate debian-package builder to python3
...
Change-Id: Ie189665ba7cc71b2bca28f9c06d4247b27a804ab
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195500
Reviewed-by: William Hesse <whesse@google.com >
2021-04-15 11:52:54 +00:00
Dmitry Stefantsov
7515fe5fe7
[cfe] Avoid using flattened lists of tuples in non-simplicity checks
...
Change-Id: If0e8220d3a155707cbb377c17213954dfe8e6ccf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195021
Commit-Queue: Dmitry Stefantsov <dmitryas@google.com >
Reviewed-by: Johnni Winther <johnniwinther@google.com >
2021-04-15 10:33:47 +00:00
Dmitry Stefantsov
91aecfcd5f
[cfe] Use i2b at the end of function call inference
...
Closes #45598 .
Bug: https://github.com/dart-lang/sdk/issues/45598
Change-Id: I37430faf057e3559ad6aefaa59d83d8a14320c54
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/194764
Commit-Queue: Dmitry Stefantsov <dmitryas@google.com >
Reviewed-by: Johnni Winther <johnniwinther@google.com >
2021-04-15 10:33:27 +00:00
Alexander Thomas
83ed095505
[release] Add release notes for 2.12.4
...
Change-Id: I70a28319e0da7c136ee93c3ca25942de129763fd
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/195278
Reviewed-by: Vyacheslav Egorov <vegorov@google.com >
2021-04-15 10:17:19 +00:00