Commit graph

1588 commits

Author SHA1 Message Date
pq 85156a691d linter 1.10.0
# 1.10.0

- improved regular expression parsing performance for common checks
  (`camel_case_types`, `file_names`, etc.)
- (internal) migrated to analyzer 2.1.0 APIs
- fixed false positive in `use_build_context_synchronously` in awaits inside
  anonymous functions
- fixed `overridden_fields` false positive w/ static fields
- fixed false positive in `avoid_null_checks_in_equality_operators` w/
  non-nullable params
- fixed false positive for deferred imports in `prefer_const_constructors`



See: https://github.com/dart-lang/linter/pull/2804

Change-Id: Ib069a6eeb0f9a8ca14c01acf21cad66831c26def
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/210500
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
2021-08-25 16:42:42 +00:00
Nate Bosch 3aab52f498 Update test_process and test_descriptor
Switch from using `_tag` naming to `_rev` since Dart team packages
should be synced by commit before publishing and tagging.

Change-Id: Idfa571e89d434fa71b868b1b4b816f54310ca642
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/210948
Auto-Submit: Nate Bosch <nbosch@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
2021-08-24 21:37:25 +00:00
Nate Bosch c8b0f9c915 Drop http_throttle from the SDK
This package is no longer used.

Change-Id: Ic79172a0db3ad729700abc973e92d8908b4f72c5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/210947
Reviewed-by: Kevin Moore <kevmoo@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
2021-08-24 20:27:34 +00:00
Sigurd Meldgaard ae81cd5dab Deprecate top level pub.
Also makes the `pub` shell script (and its .bat counterpart)
forward to a `dart __deprecated_pub` command that implements the
old top-level.

This allows us to get rid of pub.dart.snapshot saving ~15 MB in a
unzipped sdk.

The reason for not forwarding directly to `dart pub` is that the
interface is slightly different (for example there is no `dart pub --version`).


The only new commit in pub is: `3c2ce330 Expose toplevel as a command`


Bug: https://github.com/dart-lang/pub/issues/2736
Change-Id: I6eb08d120c4844b3a12bc29544df6a868cd6fcc8
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/210582
Commit-Queue: Sigurd Meldgaard <sigurdm@google.com>
Reviewed-by: Jonas Jensen <jonasfj@google.com>
2021-08-24 08:34:58 +00:00
Nate Bosch 89ba203a8d Rename some _tag to _rev in DEPS
Dart team packages should be synced first by commit before being
published and tagged. These packages were already using that pattern,
update the naming to match.

Change-Id: I004dba9459897b892af2e5f652d13730c90ad5cf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/210980
Auto-Submit: Nate Bosch <nbosch@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
2021-08-24 03:09:42 +00:00
Janice Collins 2a8f3d5fd5 Update dartdoc to 2.0.0.
Release notes:  https://github.com/dart-lang/dartdoc/releases/tag/v2.0.0

Change-Id: If9a7218a974225224d5f2dd23c026366e71a9405
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/210900
Auto-Submit: Janice Collins <jcollins@google.com>
Commit-Queue: Janice Collins <jcollins@google.com>
Commit-Queue: Samuel Rawlins <srawlins@google.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>
2021-08-23 19:04:47 +00:00
Devon Carew d7c8e6a9d3 rev the build of devtools; add a 'dart devtools' command
Change-Id: I98ffbceedd06b3693703518243e231d6a1a66c9a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/210423
Commit-Queue: Devon Carew <devoncarew@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
Reviewed-by: Kenzie Schmoll <kenzieschmoll@google.com>
2021-08-20 16:25:24 +00:00
Jake Macdonald b78929f061 update frontend_server_client
Change-Id: I7b2d06373b666a54f2b961bde063dcd755945541
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/210600
Auto-Submit: Jake Macdonald <jakemac@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
2021-08-19 21:16:06 +00:00
Robert Nystrom 5657acfc76 Roll dart_style 2.1.0 into the SDK.
This only adds support for the new constructor tear-offs. No existing
formatted code should be changed, so it should be safe to land this
without coordinating a roll of the pre-built SDK.

Change-Id: Ic3fd04f12ef5a1f67760d3edc78c5f419ba1c3c3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/210285
Auto-Submit: Bob Nystrom <rnystrom@google.com>
Commit-Queue: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
2021-08-17 00:30:11 +00:00
Jake Macdonald bebf905421 update frontend_server_client (via webdev)
Change-Id: I25b10644f53544964b0ee4cd6d70757893a53b30
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/210284
Auto-Submit: Jake Macdonald <jakemac@google.com>
Commit-Queue: Jake Macdonald <jakemac@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
2021-08-16 19:58:02 +00:00
Joshua Litt 7ac9c46977 [dart2js_info] Fix tests after migration.
Change-Id: Idafa7d2ea308cf480fcbdac21b7ae5d783c81a32
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/210060
Commit-Queue: Joshua Litt <joshualitt@google.com>
Reviewed-by: Sigmund Cherem <sigmund@google.com>
2021-08-13 18:47:41 +00:00
Alexander Thomas 300ea14d85 [release] Update checked-in SDKs to 2.14.0-377.4.beta
This is the first time a native arm64 macOS SDK is used for the
checked-in SDK.

Cq-Include-Trybots: luci.dart.try:dart-sdk-mac-arm64-try,vm-kernel-nnbd-mac-release-arm64-try,vm-kernel-precomp-nnbd-mac-release-arm64-try
Change-Id: I1eb58350bdb351e6fbb978e0849ba40bcdf7e724
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/210120
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
2021-08-13 11:02:31 +00:00
Alexander Thomas 3674c91224 [co19] Roll co19_2 to 7637bcb24abf21b5e2f8dd24d3fe619f777391f5
2021-08-10 irina.arkhipets@gmail.com Issue 1094: tests corrected, missing Issue tags added.
2021-08-10 irina.arkhipets@gmail.com Issue 1094: I-2-b test corrected.
2021-08-10 irina.arkhipets@gmail.com Issue 1135: LibTests/typed_data/Int32x4 tests updated to check expectations for web correctly.
2021-08-10 irina.arkhipets@gmail.com Issue 1135: LibTests/typed_data/Int32x4List tests updated to check expectations for web correctly. Missing Issue tags added.
2021-08-10 irina.arkhipets@gmail.com Issue 1094: Utils/tests/Expect tests corrected.
2021-08-10 irina.arkhipets@gmail.com Issue 1135: LibTests/typed_data/Uint32List tests updated to check expectations for web correctly. Missing Issue tags added.
2021-08-10 irina.arkhipets@gmail.com Issue 1135: LibTests/typed_data/Uint16List tests updated to check expectations for web correctly. Missing Issue tags added.
2021-08-10 irina.arkhipets@gmail.com Issue 1135: LibTests/typed_data/Uint8List tests updated to check expectations for web correctly. Missing Issue tags added.
2021-08-10 irina.arkhipets@gmail.com Issue 1135: LibTests/typed_data/Uint9ClampedList tests updated to check expectations for web correctly. Missing Issue tags added.
2021-08-10 irina.arkhipets@gmail.com Issue 1135: LibTests/typed_data/Int32List tests updated to check expectations for web correctly. Missing Issue tags added.
2021-08-10 irina.arkhipets@gmail.com Issue 1135: LibTests/typed_data/Int16List tests updated to check expectations for web correctly. Missing Issue tags added.
2021-08-10 irina.arkhipets@gmail.com Issue 1135: LibTests/typed_data/Int8List tests updated to check expectations for web correctly. Missing Issue tags added.
2021-08-10 irina.arkhipets@gmail.com Issue 1135: LibTests/typed_data/Float64List tests updated to check expectations for web correctly. Missing Issue tags added.
2021-08-10 irina.arkhipets@gmail.com Issue 1094: Missing Issue tag added.
2021-08-10 irina.arkhipets@gmail.com Issue 1135: LibTests/typed_data/Float64List tests updated to check expectations for web correctly.
2021-08-10 irina.arkhipets@gmail.com Issue 1135: LibTests/typed_data/Float32x4List tests updated to check expectations for web correctly.
2021-08-10 irina.arkhipets@gmail.com Issue 1094: Missing Issue tags added.
2021-08-10 irina.arkhipets@gmail.com Issue 1135: LibTests/typed_data/Float32List tests updated to check expectations correctly for web.
2021-08-10 irina.arkhipets@gmail.com Issue 1135: LibTests/typed_data/ByteData tests updated to check expectations correctly for web.
2021-08-10 irina.arkhipets@gmail.com Issue 1135: LibTests/typed_data/ByteBuffer tests updated to check expectations correctly for web.
2021-08-10 sgrekhov@unipro.ru 1134. Read Dart --help from stdout on Windows
2021-08-09 irina.arkhipets@gmail.com Issue 1094: changes in master moved to pre-nnbd branch for LibTests/math tests.
2021-08-09 irina.arkhipets@gmail.com Issue 1094: changes in master moved to pre-nnbd branch for LibTests/Isolate.
2021-08-09 irina.arkhipets@gmail.com Issue 1094: LibTests/io/ZlibDecoder, LibTests/io/ZlibDecoder tests corrected.
2021-08-09 irina.arkhipets@gmail.com Issue 1094: changes from master moved to pre-nnbd branch for LibTests/io/WebSocket/isEmpty_A01_t01.
2021-08-09 irina.arkhipets@gmail.com Issue 1094: changes from master moved to pre-nnbd branch for LibTests/io/SystemEncoding folder.
2021-08-09 irina.arkhipets@gmail.com Issue 1094: changes from master moved to pre-nnbd branch for LibTests/io/stdin folder.
2021-08-09 irina.arkhipets@gmail.com Issue 1094: changes from master moved to pre-nnbd branch for LibTests/io/RawSecureServerSocket folder.
2021-08-09 irina.arkhipets@gmail.com Merge branch 'pre-nnbd' of https://github.com/dart-lang/co19 into pre-nnbd
2021-08-09 irina.arkhipets@gmail.com Issue 1094: changes from master moved to pre-nnbd branch.
2021-08-09 sgrekhov@unipro.ru 1100. Fix Link.watch() test to avoid flakiness
2021-08-06 sgrekhov@unipro.ru 1127. Expect compile-time errors in CFE for cyclic redirecting factories participating in a loop
2021-08-04 irina.arkhipets@gmail.com Issue 1094: changes from master moved to pre-nnbd for LibTests/io/ProcessSignal
2021-08-04 irina.arkhipets@gmail.com Issue 1094: changes from master moved to pre-nnbd for LibTests/io/ProcessResult
2021-08-04 irina.arkhipets@gmail.com Issue 1094: changes from master moved to pre-nnbd for LibTests/io/Process
2021-07-29 irina.arkhipets@gmail.com Issue 1094: changes from master moved to pre-nnbd for LibTests/io/Link
2021-07-29 irina.arkhipets@gmail.com Issue 1094: changes from master moved to pre-nnbd for LibTests/io tests: FileSystemModifyEvent, HttpClient, HttpClientBasicCredentials, HttpClientDigestCredentials, HttpClientRequest, HttpClientResponse, HttpServer, IOSink.
2021-07-29 irina.arkhipets@gmail.com Issue 1094: changes from master moved to pre-nnbd for LibTests/io/Directory, LibTests/io/File, LibTests/io/FileStat folder.
2021-07-29 irina.arkhipets@gmail.com Issue 1094: changes from master moved to pre-nnbd for LibTests/io/Cookie folder.
2021-07-29 irina.arkhipets@gmail.com Issue 1094: changes from master moved to pre-nnbd for LibTests/core/double, LibTests/core/int folders.
2021-07-29 irina.arkhipets@gmail.com Issue 1094: changes from master moved to pre-nnbd for LibTests/core folder.
2021-07-26 irina.arkhipets@gmail.com Issue 1094: changes from master merged, tests corrected in co19_2.
2021-07-23 irina.arkhipets@gmail.com Issue 1094: missing issue tags added, changes frim master merged, tests corrected in co19_2.
2021-07-22 irina.arkhipets@gmail.com Issue 1094: test corrected.
2021-07-22 sgrekhov@unipro.ru Fixes 1123. Expect Syntax errors in multitests and rename these tests to 'syntax*'
2021-07-21 irina.arkhipets@gmail.com Issue 1119: Libraries_and_Scripts test updated in pre-nnbd branch, new tests added.
2021-07-01 irina.arkhipets@gmail.com Issue 1094: tests updated.
2021-06-28 irina.arkhipets@gmail.com Issue 1094: test corrected according to the Issue 42393 evaluation.
2021-06-28 irina.arkhipets@gmail.com Issue 1094: Recent master changes merged into pre-nnbd branch, missing Iuuse tags added,test corrected (Language/Generics).
2021-06-28 irina.arkhipets@gmail.com Issue 1094: Recent master changes merged into pre-nnbd branch, missing Iuuse tags added,test corrected.

Change-Id: I00818cae18d84c3e2e7c628ed4370ff31c52d509
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209919
Reviewed-by: William Hesse <whesse@google.com>
2021-08-12 13:43:55 +00:00
Alexander Thomas 8d28c12952 [co19] Roll co19 to 3bbf92369652b6ba0b347516dabd1ed2193eb5c6
2021-08-12 sgrekhov@unipro.ru Fixes 1144. Use Pointer<Int32> on 32-bit platforms
2021-08-12 sgrekhov@unipro.ru Fixes 1142. Fix tests  expectations
2021-08-12 sgrekhov@unipro.ru Fixes 1143. Set called flag to true when constructor called
2021-08-12 sgrekhov@unipro.ru Fixes 1141. Fix typedefs in co19/LanguageFeatures/Constructor-tear-offs/summary_A01_t01 test
2021-08-12 sgrekhov@unipro.ru Fixes 1140. Typo fixed
2021-08-12 sgrekhov@unipro.ru Fixes 1139. Fix typo in test expectations
2021-08-11 sgrekhov@unipro.ru Fixes 1136. Make LanguageFeatures/Constructor-tear-offs/tearing_off_from_typedef_A07_t01 test stronger
2021-08-10 irina.arkhipets@gmail.com Issue 1135: LibTests/typed_data/Int32x4 tests updated to check expectations for web correctly.
2021-08-10 irina.arkhipets@gmail.com Issue 1135: LibTests/typed_data/Int32x4List tests updated to check expectations for web correctly.
2021-08-10 irina.arkhipets@gmail.com Issue 1094: Missing Issue tags added.
2021-08-10 irina.arkhipets@gmail.com Issue 1135: LibTests/typed_data/ByteBuffer tests updated to check expectations correctly for web.
2021-08-10 sgrekhov@unipro.ru 1134. Read Dart --help from stdout on Windows
2021-08-10 sgrekhov@unipro.ru Fixes 1130. Test rewritten to test what is said in description
2021-08-10 sgrekhov@unipro.ru Fixes 1133. Typo in constructor tear-off test fixed
2021-08-10 sgrekhov@unipro.ru Fixes 1132. Typo in test expectations fixed
2021-08-10 sgrekhov@unipro.ru Fixes 1131. Compare lists using 'listEquals'

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-simarm64-try,vm-kernel-nnbd-linux-release-x64-try,vm-kernel-nnbd-mac-release-arm64-try,vm-kernel-nnbd-win-release-x64-try,vm-kernel-precomp-nnbd-linux-release-simarm64-try,vm-kernel-precomp-nnbd-linux-release-x64-try,vm-kernel-precomp-nnbd-win-release-x64-try
Change-Id: I6681b0a5c75aad70498e920b2fe47fe56d257853
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209918
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: Alexander Thomas <athom@google.com>
2021-08-12 10:31:11 +00:00
Jake Macdonald e46f6da720 Update matcher
Note that there was a bug fix to `stringContainsInOrder` which does change the behavior.

Change-Id: I2ee39116f2704e6e196d7ab26d924726d4d801d7
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209844
Reviewed-by: Nate Bosch <nbosch@google.com>
Commit-Queue: Jake Macdonald <jakemac@google.com>
2021-08-11 23:51:07 +00:00
pq c22a170429 linter 1.9.0
Change-Id: Id833d90a90caefe7578451f6086828fd33002529
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209765
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
2021-08-11 23:05:13 +00:00
Alexander Thomas f9a65636e5 [co19] Roll co19 to aff1a334d7875e465c2f43e1b38774512fbb4ba4
2021-08-09 sgrekhov@unipro.ru 1126. Different roll failures fixed
2021-08-09 sgrekhov@unipro.ru 1100. Fix Link.watch() test to avoid flakiness
2021-08-09 sgrekhov@unipro.ru Fixes 1128. Remove check for '!identical(v1, v2)'
2021-08-06 sgrekhov@unipro.ru 1126. Some of the roll failures fixed or issue numbers added
2021-08-06 sgrekhov@unipro.ru 1127. Expect compile-time errors in CFE for cyclic redirecting factories participating in a loop
2021-08-06 sgrekhov@unipro.ru 1126. Some of the roll failures fixed
2021-08-04 irina.arkhipets@gmail.com Useless libraries removed.
2021-08-04 sgrekhov@unipro.ru 993. PointerPointer tests added
2021-08-03 sgrekhov@unipro.ru 993. IntPtrPointer tests added
2021-08-03 sgrekhov@unipro.ru 993. Work with memory fixed in FFI tests
2021-08-02 sgrekhov@unipro.ru 993. Int64Pointer tests added for FFI library
2021-07-30 sgrekhov@unipro.ru Fixes 993. IntXXPointer tests added for FFI library
2021-07-30 sgrekhov@unipro.ru 1087. More tests for tearing-off constructor of an abstract class
2021-07-29 sgrekhov@unipro.ru Fixes 993. DoublePointer tests added for FFI library
2021-07-29 sgrekhov@unipro.ru Fixes 993. More Union tests for FFI library added
2021-07-28 sgrekhov@unipro.ru Fixes 1125. Test for cascades contained explicitly instantiated tearoffs added
2021-07-28 sgrekhov@unipro.ru 1087. Header comment style fixes
2021-07-27 sgrekhov@unipro.ru 1087. Add tests for tearing-off constructor of an abstract class
2021-07-27 sgrekhov@unipro.ru Fixes 1124. Constructor tear-off tests fixed
2021-07-26 sgrekhov@unipro.ru 1124. Numerous errors and typos in Constructor tear-off tests fixed
2021-07-21 irina.arkhipets@gmail.com Issue 1119: test corrected.
2021-07-20 irina.arkhipets@gmail.com Issue 1109: Libraries_and_Scripts test updated, new tests added.
2021-07-20 sgrekhov@unipro.ru 1123. Constructor tear-off tests fixed to expect syntax errors
2021-07-20 sgrekhov@unipro.ru 1123. Expect syntax errors in tests which check syntax
2021-07-19 sgrekhov@unipro.ru Missed checks added to Language/Generics/syntax_t31 test
2021-07-19 sgrekhov@unipro.ru 1123. Expect syntax errors in tests which check syntax
2021-07-19 sgrekhov@unipro.ru 1123. Syntax error fixed in unnamed constructor tear-off tests
2021-07-19 sgrekhov@unipro.ru 1122. nonfunction-type-aliases tests moved out of type-aliases directory
2021-07-16 sgrekhov@unipro.ru 1122. nonfunction-type-aliases experimental flag removed
2021-07-16 sgrekhov@unipro.ru 1122. nonfunction-type-aliases experimental flag removed
2021-07-15 sgrekhov@unipro.ru Fixes 1121. Update Symbol tests according to the changed specification
2021-07-14 sgrekhov@unipro.ru 932. Issue number added
2021-07-14 irina.arkhipets@gmail.com Fixes 1109: test expectations corrected according to  dart-lang/sdk44161, dart-lang/sdk44163 evaluations.
2021-07-14 sgrekhov@unipro.ru 1120. Added test which uses type aliases
2021-07-13 sgrekhov@unipro.ru 993. NativeFunction test added
2021-07-12 sgrekhov@unipro.ru Fixes 1107. Replace multitests by static errors tests
2021-07-12 sgrekhov@unipro.ru 1120. Tests for mixin static members added
2021-07-09 sgrekhov@unipro.ru Fixes 1120. Tests for function object canonicalization added
2021-07-08 sgrekhov@unipro.ru Fixes 1087. More constructor tear-offs tests added
2021-07-07 sgrekhov@unipro.ru 1087. More constructor tear-offs tests added
2021-07-06 sgrekhov@unipro.ru 1087. Added tests that checks factory constructor tear-offs and use of tear-offs in a factory constructors
2021-07-06 sgrekhov@unipro.ru Fixes 1118. Expect an error for Union/Struct subclasses created by generative constructor
2021-07-05 sgrekhov@unipro.ru Fixes 1111. Expect an error for zero-sized arrays
2021-07-05 sgrekhov@unipro.ru Fixes 1116. Expect a compile error for empty setOrMapLiteral for Iterable<Object> context type
2021-07-05 sgrekhov@unipro.ru Fixes 1112. Expect a compile error if mixin is derived from a class other than Object
2021-07-05 sgrekhov@unipro.ru Fixes 1105. Function tear-offs tests fixed
2021-07-05 sgrekhov@unipro.ru Fixes 1106. Use runtime check 'is int' VS 'is String' to check that runtime type is 'int', not 'dynamic'
2021-07-01 irina.arkhipets@gmail.com Fixes 1113: Method signature corrected.
2021-07-01 irina.arkhipets@gmail.com Fixed Issue 1115: test expectation corrected.
2021-07-01 irina.arkhipets@gmail.com Fixes Issue 1117: test corrected.
2021-06-29 irina.arkhipets@gmail.com Issue 1094: Merge changes from pre-nnbd branch.
2021-06-25 sgrekhov@unipro.ru 1087. Added tests for static invocations and type object member ambiguity
2021-06-25 sgrekhov@unipro.ru 1104. Fix type used in onError
2021-06-24 sgrekhov@unipro.ru 1087. Added more tests for resolving ambiguities
2021-06-23 sgrekhov@unipro.ru 1087. Added more tests for resolving ambiguities
2021-06-22 sgrekhov@unipro.ru 1087. Added more tests for resolving ambiguities
2021-06-22 sgrekhov@unipro.ru Fixes 1103. Change expected error range for analyzer according to the changed behaviour
2021-06-22 sgrekhov@unipro.ru Fixes 1102. Change test expected results according to the changed behavior
2021-06-21 sgrekhov@unipro.ru 1087. Added more tests for resolving ambiguities
2021-06-21 sgrekhov@unipro.ru Issue number added to the failing test
2021-06-21 sgrekhov@unipro.ru Fixes 1101. Expect less compile errors
2021-06-18 sgrekhov@unipro.ru 1087. Resolving ambiguities tests added
2021-06-17 sgrekhov@unipro.ru 1087. Resolving ambiguities tests added
2021-06-17 sgrekhov@unipro.ru 1087. Call-method tests added
2021-06-15 sgrekhov@unipro.ru Fixes 1100. Expect file system event not on link itself but on directory it points to
2021-06-15 sgrekhov@unipro.ru 1099. Fixed co19 roll failures

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-simarm64-try,vm-kernel-nnbd-linux-release-x64-try,vm-kernel-nnbd-mac-release-arm64-try,vm-kernel-nnbd-win-release-x64-try,vm-kernel-precomp-nnbd-linux-release-simarm64-try,vm-kernel-precomp-nnbd-linux-release-x64-try,vm-kernel-precomp-nnbd-win-release-x64-try
Change-Id: Ib18e48d31771b2b70e607951577b9ac90d0b40a6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209547
Reviewed-by: William Hesse <whesse@google.com>
2021-08-11 13:29:59 +00:00
Sigurd Meldgaard 88b4b4d08a Update package_config
Bump pub

```
> git log --format="%C(auto) %h %s" 70b1a4f9229a36bac6340ec7eae2b2068baac96c..9f2ddc02f066c68fb638ff65fbb73761ece23267
 9f2ddc02 Use uris for paths in git source descriptions (#3063)
 97a0033e Update README.md (#3069)
 2ef10adf Roll setup-dart (#3054)
 4b5450d3 Updated repository specification. (#3050)
 0f3055db Add executables to allErrors (#3048)
```

Change-Id: Iaa42df2339b6f62aeb63e0f2e7eaf062da84e7c6
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209681
Reviewed-by: Jonas Jensen <jonasfj@google.com>
Commit-Queue: Sigurd Meldgaard <sigurdm@google.com>
2021-08-10 12:47:33 +00:00
Nate Bosch 122cd0c25f Update to the latest package_config
Change-Id: I9b6e9188393a3eb8505f8f4f322b5364dba501c9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209440
Reviewed-by: Jake Macdonald <jakemac@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
2021-08-09 23:31:56 +00:00
Janice Collins b0e6a65cce Update dartdoc to 1.0.2.
Release notes for v1.0.2: https://github.com/dart-lang/dartdoc/releases/tag/v1.0.2
Release notes for v1.0.1: https://github.com/dart-lang/dartdoc/releases/tag/v1.0.1

Change-Id: Ifd82d8314b611fbf2be35a5f6cd8ee815894e240
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209660
Auto-Submit: Janice Collins <jcollins@google.com>
Reviewed-by: Samuel Rawlins <srawlins@google.com>
Commit-Queue: Janice Collins <jcollins@google.com>
2021-08-09 19:21:20 +00:00
Nate Bosch 3bec5e5ecd Update to the latest package:async
Change-Id: I89b7798a4579953fdcf019392ca0bf6554b86976
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209401
Reviewed-by: Jake Macdonald <jakemac@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
2021-08-06 21:43:38 +00:00
Stephen Adams b723de1235 Add package:characters to DEPS
Change-Id: I700442bba24dfcb95862a0440374543f2a1a8e23
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/209060
Reviewed-by: Stephen Adams <sra@google.com>
Commit-Queue: Stephen Adams <sra@google.com>
2021-08-05 05:41:08 +00:00
Kevin Moore 32038798c6 DEPS: update protobuf to latest
TEST=ci
Change-Id: I956d681c8d54d52b0c4935d5570ac30d95db5d6c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/208346
Auto-Submit: Kevin Moore <kevmoo@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
Reviewed-by: Alexander Markov <alexmarkov@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
2021-07-28 23:09:34 +00:00
pq cb5d0b39ca linter 1.8.0
See: https://github.com/dart-lang/sdk/issues/46663

Change-Id: I836498caf61ee311a9c6674f20ab3a959bdc9e9f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207401
Reviewed-by: Brian Wilkerson <brianwilkerson@google.com>
Commit-Queue: Phil Quitslund <pquitslund@google.com>
2021-07-28 03:18:44 +00:00
Nate Bosch 37c3bbde4c Update to the latest http_parser
Change-Id: Ib12bac3ab7f91ab34a0788330f9a61b74c4d19fb
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207840
Auto-Submit: Nate Bosch <nbosch@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
2021-07-23 21:36:39 +00:00
Nate Bosch 5ffac851a0 Update to the latest typed_data
Change-Id: Ibc737d7903754023850e6160e30f1c6ab15cc6d1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207881
Auto-Submit: Nate Bosch <nbosch@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
2021-07-23 21:19:50 +00:00
Nate Bosch 8a0aeb6786 Update to the latest package:matcher
Change-Id: Ibdb279eedfd83ce16e93142df19295d3f049c314
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207883
Auto-Submit: Nate Bosch <nbosch@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
2021-07-23 20:10:29 +00:00
Nate Bosch 3877b62688 Update to the latest package:logging
Change-Id: I5cfd21fe259518a8614efbe0cc72377bfb38d4f1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207882
Auto-Submit: Nate Bosch <nbosch@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
2021-07-23 20:09:00 +00:00
Nate Bosch 1f71abd35c Update to the latest package:convert
Change-Id: Ia92aa8d3470a72c654e8225aa8c47ca839052476
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207884
Auto-Submit: Nate Bosch <nbosch@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
2021-07-23 19:24:30 +00:00
Nicholas Shahan 5668791399 [ddc] Bump browser_launcher dep to v1.0.0
- Supports sound null safety.

Change-Id: I5778d1e0b47b97a24f7433509963f945d702d6b2
Issue: https://github.com/dart-lang/sdk/issues/46617
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207920
Reviewed-by: Mark Zhou <markzipan@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
2021-07-23 19:24:20 +00:00
Jacob MacDonald 294b5abdba Update args to the latest
This allows you to categorize commands, if you do they will be grouped in the usage text by category.

Change-Id: I2576ef76d18691f2fcee1f0f72c29285c4a346cf
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207980
Auto-Submit: Jake Macdonald <jakemac@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
2021-07-23 18:44:49 +00:00
Nate Bosch f2f21499e7 Update to the latest package:crypto
Change-Id: I665d6cb353030b69c31c5230381e10202549ab38
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207821
Auto-Submit: Nate Bosch <nbosch@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
2021-07-23 06:29:35 +00:00
Nate Bosch 9b3d91b8a9 Drop dependency on http_retry
This was pulled in for pub which no longer uses the dependency.
https://github.com/dart-lang/pub/pull/2980

Change-Id: I9f1dc144125ae1fa57f55909cd55e970dc5f696a
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207822
Auto-Submit: Nate Bosch <nbosch@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
2021-07-22 22:05:25 +00:00
Nate Bosch e84240355f Update to the latest package:http
Change-Id: I4ffe2d1774b65d7e9387b90c766e644a8b843af1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207220
Auto-Submit: Nate Bosch <nbosch@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
2021-07-22 20:38:25 +00:00
Nate Bosch d44212099a Update to the latest package:path
Change-Id: I36c0b33419189b0002f01420cd88a806ce751347
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207820
Auto-Submit: Nate Bosch <nbosch@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
2021-07-22 20:27:19 +00:00
Jacob MacDonald 938566f739 Update args to the latest
Note that this adds command suggestions when no command is found, see https://github.com/dart-lang/args/pull/206 for details.

This is likely to affect the output of the dart cli and other clis in the sdk, for that scenario. This may break some integration tests.

Change-Id: Ia64ab6f6c44af6b88f1db62268363820d39c63a9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207701
Reviewed-by: Nate Bosch <nbosch@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Auto-Submit: Jake Macdonald <jakemac@google.com>
2021-07-21 18:04:48 +00:00
Nate Bosch faee22d3fa Update to the latest shelf_static
Change-Id: I1cb6a5cc348778cbc6fd4969086a42a35da077ef
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207620
Auto-Submit: Nate Bosch <nbosch@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
2021-07-20 21:58:00 +00:00
Nate Bosch 67e0bcfa8d Update to the latest package:async
Change-Id: I5b4d9b4b19dcf057b7625ae27912e658c9c38ed5
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207580
Auto-Submit: Nate Bosch <nbosch@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Commit-Queue: Jake Macdonald <jakemac@google.com>
Reviewed-by: Jake Macdonald <jakemac@google.com>
2021-07-20 21:18:17 +00:00
Robert Nystrom 7f2ed4749b Roll dart_style 2.0.3 into the SDK.
Change-Id: I3eb1ecf0fc4f3e82a3e2ebcbec7416565e5b2b2e
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207502
Auto-Submit: Bob Nystrom <rnystrom@google.com>
Reviewed-by: Ben Konyi <bkonyi@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
Commit-Queue: Ben Konyi <bkonyi@google.com>
2021-07-20 20:52:50 +00:00
Nicholas Shahan 9cf61baf57 [ddc] Update webkit_inspection_protocol dep
- New version has been migrated to null safety.
- Update tests that are currently broken. It looks like a CFE bug
  was fixed and now the private static fields are accessible.

Change-Id: I3d9bde85b65c0e219f756df2d9531539eb7f732b
Issue: https://github.com/dart-lang/sdk/issues/46617
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207382
Reviewed-by: Mark Zhou <markzipan@google.com>
Commit-Queue: Nicholas Shahan <nshahan@google.com>
2021-07-20 19:44:01 +00:00
Jonas Finnemann Jensen 6e640064b7 Bump pub.
New commits include:
```
git log --format="%C(auto) %h %s" d159e5b9f04a7e4826b6afea7b3364d48aa0dad8..70b1a4f9229a36bac6340ec7eae2b2068baac96c
 70b1a4f9 Detect Flutter SDK location relative to Dart SDK (#3045)
 b4be5c57 Dart format with latest SDK (#3044)
 2a08832e Fix dart_tools typos (#3042)
```

Change-Id: I5d27c9545f5e13a55cf1719fe1408a88fba88c8d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/207304
Auto-Submit: Jonas Jensen <jonasfj@google.com>
Commit-Queue: William Hesse <whesse@google.com>
Reviewed-by: William Hesse <whesse@google.com>
2021-07-19 11:58:29 +00:00
Jacob MacDonald 98e59b7501 update package:test to the latest
Change-Id: Ic99902a7b8f27b022e076ea5afb72b269e438e86
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/206520
Auto-Submit: Jake Macdonald <jakemac@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
2021-07-14 21:45:33 +00:00
William Hesse 6c92e18952 Update dart_style to published version 2.0.2
Dart_style 2.0.2 was published with more fixes and a different
hash than the original 2.0.2 commit hash.

Bug: https://github.com/flutter/flutter/issues/86326
Change-Id: I31e8e9a0c6178d38ad62065df869807b899d313c
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/206543
Reviewed-by: Slava Egorov <vegorov@google.com>
Commit-Queue: William Hesse <whesse@google.com>
2021-07-13 09:46:16 +00:00
William Hesse a00c5c29da [sdk] Update checked-in SDKs to 2.14.0-293.0.dev
* This includes changes to dart format from dart_style 2.0.2

TBR=athom@google.com

Change-Id: I344f90e11b28746cfcb78427556a5f0a7de8611d
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/206371
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: William Hesse <whesse@google.com>
2021-07-11 17:37:41 +00:00
Jonas Finnemann Jensen 1b3b8f8a84 Bump pub.
New commits include:
```
git log --format="%C(auto) %h %s"
3c14d86a67db7207bbc9f654ac49ee60e08e5240..d159e5b9f04a7e4826b6afea7b3364d48aa0dad8
 d159e5b9 Validate and normalize hosted url. (#3030)
 12411d60 fail CI on info level issues; fix directives sorting (#3036)
 ab41ef0a Downgraded does_not_include_dot_file.dart to 2.10 (#3027)
```

Change-Id: I58e11393c5d6099406d3ba1884f69768395c7a0f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/206364
Reviewed-by: William Hesse <whesse@google.com>
Commit-Queue: William Hesse <whesse@google.com>
Auto-Submit: Jonas Jensen <jonasfj@google.com>
2021-07-09 13:45:55 +00:00
Robert Nystrom 7804da29be Roll dart_style 2.0.2 into SDK.
Change-Id: Ie221a1138ee66f820fe5c0f3fe4c911fd9626c31
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/205941
Commit-Queue: William Hesse <whesse@google.com>
Reviewed-by: William Hesse <whesse@google.com>
2021-07-08 23:50:53 +00:00
Kevin Moore 2a7db6157a DEPS: latest shelf_static
Change-Id: I3d7cb5d3cff30453766a6fcafce8c595a3af89f0
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/206321
Auto-Submit: Kevin Moore <kevmoo@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
Commit-Queue: Jake Macdonald <jakemac@google.com>
Reviewed-by: Jake Macdonald <jakemac@google.com>
2021-07-08 20:22:43 +00:00
Kevin Moore 4306ea52ea Bump pkg:shelf to latest (before releasing v1.2.0)
Change-Id: Ia05331077fa8cca51ecd198e204fd09dca613497
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/205884
Auto-Submit: Kevin Moore <kevmoo@google.com>
Commit-Queue: Nate Bosch <nbosch@google.com>
Reviewed-by: Nate Bosch <nbosch@google.com>
2021-07-02 22:58:55 +00:00
Zach Anderson f407419d0a [vm] Reland: Prefix HOST_OS_* and TARGET_OS_* with DART_
This relands https://dart-review.googlesource.com/c/sdk/+/205633
but without renaming TARGET_OS_IPHONE to DART_TARGET_OS_IPHONE.
It also changes uses of TARGET_OS_IOS to
DART_TARGET_OS_MACOS_IOS to be consistent with the rest of the
VM.

TargetConditionals.h for XCode 13 defines several
TARGET_OS_* preprocessor symbols that confuse the
Dart build. There is probably a more targeted fix
for this, but renaming the symbols that Dart uses
will also prevent this problem if more symbols
are added to the platform headers in the future.

See: https://github.com/dart-lang/sdk/issues/46499

TEST=It builds.

Change-Id: Ie775c19dd23cfdf5f65e5ebc6ee4ec3a561676fa
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/205860
Commit-Queue: Zach Anderson <zra@google.com>
Reviewed-by: Alexander Aprelev <aam@google.com>
2021-07-02 19:06:45 +00:00
Slava Egorov 42164cc140 Revert "[vm] Prefix HOST_OS_* and TARGET_OS_* with DART_"
This reverts commit aa9201b76b.

Reason for revert: blocks G3 roll (b/192627187)

Original change's description:
> [vm] Prefix HOST_OS_* and TARGET_OS_* with DART_
>
> TargetConditionals.h for XCode 13 defines several
> TARGET_OS_* preprocessor symbols that confuse the
> Dart build. There is probably a more targeted fix
> for this, but renaming the symbols that Dart uses
> will also prevent this problem if more symbols
> are added to the platform headers in the future.
>
> See: https://github.com/dart-lang/sdk/issues/46499
>
> TEST=It builds.
> Change-Id: I3b33a03b4a9a14b76d55fe12f8cdefec4b3c3664
> Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/205633
> Commit-Queue: Zach Anderson <zra@google.com>
> Reviewed-by: Siva Annamalai <asiva@google.com>

TBR=rmacnak@google.com,zra@google.com,asiva@google.com

Change-Id: Ib06ca418c7e9d3b4df62c72c033cd39f462f7667
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/205790
Reviewed-by: Slava Egorov <vegorov@google.com>
Commit-Queue: Slava Egorov <vegorov@google.com>
2021-07-02 14:02:02 +00:00