Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

const Set constructor #174

Closed
nex3 opened this issue Oct 19, 2011 · 16 comments
Closed

const Set constructor #174

nex3 opened this issue Oct 19, 2011 · 16 comments
Labels
area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language). closed-duplicate Closed in favor of an existing report P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug

Comments

@nex3
Copy link
Member

nex3 commented Oct 19, 2011

It would be useful to have the Set constructor be const to allow for the creation of frozen empty sets, a la "const []" or "const {}".

@nex3
Copy link
Member Author

nex3 commented Oct 19, 2011

Added Area-Library, Triaged labels.

@lrhn
Copy link
Member

lrhn commented Sep 4, 2012

You should be able to make immutable Sets, but for a const Set with an arbitrary number of elements, we'd likely need language support in order to make it "not suck".
You can't pass an arbitrary number of elements to a normal const constructor, so you need to use either a List or a Map literal to collect elements, and then pass that to a const constructor. Since the constructor can't do any computation, the Set would be wrapped around the List or Map. A List would be inefficient, and canonicalization would depend on the order, so the best approach with the current syntax is to use a Map and wrap it as a Set of the Map's keys, Then it would only work with Strings:
class Set<E> {
 const factory Set.fromMapKeys(Map<E,Dynamic> values) = MapKeySet<E>;
 ...
}
That means it would be:
  const Set<String>.fromMapKeys(const <String,Null>{"A": null, "B": null})
to create a const Set of "A" and "B".

For a 'const Set' to be really viable, it should have syntax support, so I'm changing this til Area-Langauge.


Added this to the Later milestone.
Removed Area-Library label.
Added Area-Language label.

@nex3
Copy link
Member Author

nex3 commented Mar 11, 2013

Removed the owner.

@rakudrama
Copy link
Member

Language support for const Set<T> would be very useful.

I can find plenty of work-arounds in the codebase, e.g.

  static final Set<String> _allowedElements = new Set.from([
    'A',
    'ABBR',
    ...
    'TT',
    'U',
    'UL',
    'VAR',
    'VIDEO',
    'WBR',
  ]);

@kasperl
Copy link

kasperl commented Jul 10, 2014

Removed this from the Later milestone.
Added Oldschool-Milestone-Later label.

@kasperl
Copy link

kasperl commented Aug 4, 2014

Removed Oldschool-Milestone-Later label.

@gbracha
Copy link
Contributor

gbracha commented Aug 28, 2014

Set owner to @gbracha.
Added Accepted label.

@gbracha
Copy link
Contributor

gbracha commented Aug 28, 2014

See also issue #3792. Not exactly a duplicate, but close.

@DartBot
Copy link

DartBot commented Nov 18, 2014

This comment was originally written by @Emasoft


@andrew.m : The answers are of course the following:

#­1
 const Set([1, 2, 1]);
should be automatically interpreted as:
 const Set([1, 2]);
because repeated elements are always ignored. Adding an element should always check if the element already is present in the set, and if this is the case nothing will be added, rising no errors.
A set does not have repeating elements. The set A is identical to the set B when one can show A⊆B and B⊆A and therefore A=B. For example: the set {1,1,1,2,2} is by definition equal to {1}∪{1}∪{1}∪{2}∪{2}, then {1,1,1,2,2}={1,2}.
The difference between a Set and an Array is that in the Set the value of an element is also the key used to identify it, while the Array is an indexed family multiset, providing access to individual elements by their key, like an index. A multiset may be formally defined as a 2-tuple (A, m) where A is some set and m is a function from A to the set N = {1, 2, 3, .. } of positive natural numbers, called indices. A Set doesn't have an index, and consequently doesn't have any order ( the set {3,1,2} is equivalent to the set {1,2,3} ), and cannot have any repeating element, because the value of an element is also the key used to identify it. The elements in an array follow a strict order at all times, and all inserted elements are given a position in this order. The elements in a Set have not a predefined order, and thanks to this they can be merged or modified with boolean operators (es. setA.union(setB) or setA.difference(setB) boolean operations always return another new Set object. If setA and setB contain the same elements, their difference is a new empty Set object). Sets can be mutable or immutable, depending on the language implementation and on the use of the const modifier. A mutable set provide a method to add a new element without creating a new set ( like: setA.AddElement(4) ). An immutable Set instead produce a new Set object each time a Set is modified, preserving the original Set object. In an immutable set the following line rises an error: setA.AddElement(4) - Error: setA is defined as const. To add an element you should use the boolean union operator (i.e. setA.union(4) ) because that method returns a new Set object.

#­2
const Set([1, 2, 1]) == const Set([1, 2])
those expression should always be evaluated to true, because of the #­1.

@DartBot
Copy link

DartBot commented Nov 18, 2014

This comment was originally written by @Emasoft


@sra :

Language support for const Set<T> would be very useful.

True. Sets should be typed with the generic notation to ensure type safety.

Also a "mixed types" set would be great. The allowed types should be only those defined with the generic syntax. Something like:

Set<FordClass, ToyotaClass, OpelClass> supported_car_models = new Set([
 toyotaCorolla1998,
 toyotaCorolla1998Verso,
 fordKa2010,
 fordKa2011,
 fordSpace1994,
 fordSpace1994Cabrio,
 fordKa2003,
 opelQuadra2014,
 opelQuadra2014Diesel,
 toyotaCorolla1995,
 toyotaCorolla1996,
 toyotaCorolla2014Hybrid
  ]);
 
Only objects belonging to those classes betwen brackets can be added or removed from the Set.
Also boolean operations between Sets of different classes should produce a Set that allows the resulting union of the two set of classes. For example:

Set<FordClass, ToyotaClass> setA = new Set();
Set<ToyotaClass, FordClass> setB = new Set();
var setC = setA.union(setB); // setC would be defined as Set<FordClass, ToyotaClass, OpelClass> type.

In other words, the statement:

typeOf(setC) == Set<FordClass, ToyotaClass, OpelClass>

would evaluate to true.

@DartBot
Copy link

DartBot commented Nov 19, 2014

This comment was originally written by @Emasoft


const Set([const Set([Color.RED, 41]), const [const Set(1, "hello")], 2]);
That is equivalent to:
const List arr1 = new List(2)[Color.RED, 41];
const Set setA = new Set(arr1);
const Set setB = new Set(1, "hello");
const List arr2 = new List(1)[setB];
const List arr3 = new List(3)[setA, arr2, 2];
const Set setC = new Set(arr3);

The resulting sets are equivalent to:

// because arr1 is interpreted as setA.AddElementsFromList(arr1)
const Set setA = new Set(Color.RED, 41);

// because the constructor overload with multiple parameters is called when there are multiple elements
const Set setB = new Set(1, "hello");

// because like above the constructor overload with multiple parameters is called when there are multiple elements, so Lists are not interpreted as a "fromList" constructor, but like a single element of type List.
const Set setC = new Set(setA, arr2, 2);

The others examples obey to the same rules I believe.

The only error is in the "s1.first" property. There is no order in a Set, so a .first property cannot exist. The only way to access elements from a Set is with the foreach operator:

foreach(object e in s1) {
   print(e);
}

Internally the foreach operator if applied to Sets choose the sequence of elements using their hash as index. So because the hash value of the int 1 is the same in both Sets, and the hash of 1 is always smaller or greater (depending of the hash function used by Dart internally) than the hash of 2, the sequence of the numbers printed by the foreach loop will always be the same, both for s1 that for s2.

But this has nothing to do with the Set per se (because it has no ordering), but with the foreach implementation details. Another method to extract the values from the Set could use a completely different method to decide the order of extraction. For example I can write a getRandomElement() method that choose to extract every time a different sequence of elements. All you can be sure is that in a Set all the informations about what element was inserted first or last is lost forever. There is not such information. Of course there is a memory ordering behind the scenes, but even that is not constant. To optimize a Set, the .union() method could choose to add a new element in a different non contiguous area of memory, or to use a previous memory segment just freed in memory because of a recent operation on the Set, to optimize the array in a way to keep each element stored in memory in a compact and contiguous segment, faster to read. Dictionaries in C++ make such optimizations behind the scenes every time. So even the allocation order of the elements in memory is not something that the Set can use, because it is completely random and can change at any time.

@DartBot
Copy link

DartBot commented Nov 21, 2014

This comment was originally written by @Emasoft


@andrew.m : I'm just telling you what an ideal set should be according to its definition. Of course the current set implemented in Dart is less than ideal, this is why we are arguing about improving it. And the .first property is surely something that should not be in the dart implementation of a set, because it is an ill defined function (there is no first element in a set) and can be misleading because it can return different results at different times, or for identical set. Yet that problem is not the subject of the issue of this post, it deserves a separate issue.

@DartBot
Copy link

DartBot commented Nov 23, 2014

This comment was originally written by @Emasoft


A linkedHashSet is not a Set. It is something else entirely. This should be corrected asap.
If you need an ideal implementation of a Set to use as reference, this is the only one:

http://www.cplusplus.com/reference/unordered_set/unordered_set/

Please note that the above c++ class, instead of featuring a ".first" method, features a ".begin" method and an ".end" method for the beginning and the end of the extraction process, making no guarantees on which specific element is considered its first element. Internally it make use of the concept of "buckets", and it distributes the elements in the bukets according to their hash value. The only thing that differ from the ideal set is the choice of making the buckets public, instead of keeping those a private member. Allowing to modify the buckets directly creates a risk of inconsistent behaviour when algorithms expect a Set to behave like a Set.

@nex3 nex3 added Type-Enhancement area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language). labels Nov 23, 2014
@kevmoo kevmoo added P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug and removed accepted type-enhancement A request for a change that isn't a bug labels Feb 29, 2016
@bergwerf
Copy link

Has this been addressed already? The most pretty format would probably be const {0, 1, 2} (after the mathematical set symbols and kinda compatible with the idea of maps having only unique keys).

@munificent
Copy link
Member

Has this been addressed already?

Nope. No update yet.

@lrhn
Copy link
Member

lrhn commented Jun 22, 2018

Rolling this into #3792, since it asks for general set literals, and those should be able to be const too.

@lrhn lrhn closed this as completed Jun 22, 2018
@lrhn lrhn added the closed-duplicate Closed in favor of an existing report label Jun 22, 2018
copybara-service bot pushed a commit that referenced this issue May 24, 2022
Merges shelf_router and shelf_router_generator to the shelf mono repo.

Changes:
```
> git log --format="%C(auto) %h %s" fadca32..05f4260
 https://dart.googlesource.com/shelf.git/+/05f4260 Merge remote-tracking branch 'origin/HEAD' into jonasfj/master
 https://dart.googlesource.com/shelf.git/+/4f4fa0a Fix pubspec repository for shelf_web_socket (#233)
 https://dart.googlesource.com/shelf.git/+/d4ff2ae Update READMEs, adjust mono_pkg.yaml
 https://dart.googlesource.com/shelf.git/+/d6efa6e Merge in shelf_router / shelf_router_generator.
 https://dart.googlesource.com/shelf.git/+/6d1f24d Add root readme (#229)
 https://dart.googlesource.com/shelf.git/+/d23cc89 Use the same lints across all packages (#228)
 https://dart.googlesource.com/shelf.git/+/3fdddb1 Merge CI steps across packages (#226)
 https://dart.googlesource.com/shelf.git/+/9b5a08a Upgrade mono_repo (#174)
 https://dart.googlesource.com/shelf.git/+/f04e60f Upgrade mono_repo (#169)
 https://dart.googlesource.com/shelf.git/+/ef1c1ae Merge pull request #165 from isoos/upgrade
 https://dart.googlesource.com/shelf.git/+/dc49716 bump version
 https://dart.googlesource.com/shelf.git/+/07bf70a Upgrade dependencies in shelf_router_generator
 https://dart.googlesource.com/shelf.git/+/640915e fix: mount remove trailing slash requirement (#146)
 https://dart.googlesource.com/shelf.git/+/138ca19 Migrate to pkg:lints (#161)
 https://dart.googlesource.com/shelf.git/+/d2d026b Bump mono_repo to v5.0.1 (#150)
 https://dart.googlesource.com/shelf.git/+/ac19cc9 Fix a number of hints and lints (#151)
 https://dart.googlesource.com/shelf.git/+/9cb612a shelf_router_generator: latest dependencies (#152)
 https://dart.googlesource.com/shelf.git/+/4947570 Fix SDK constraints 2.12.0-0 to 2.12.0 (#148)
 https://dart.googlesource.com/shelf.git/+/8a11fee Merge pull request #147 from isoos/fix-rnf
 https://dart.googlesource.com/shelf.git/+/789824d Fix Router.routeNotFound to enable multiple read() calls on it.
 https://dart.googlesource.com/shelf.git/+/fac496f Introduce `routeNotFound` sentinel for shelf_router 1.1.0 (#141)
 https://dart.googlesource.com/shelf.git/+/33206e9 remove handler from app (#131)
 https://dart.googlesource.com/shelf.git/+/02c49f7 remove handler from app (#129)
 https://dart.googlesource.com/shelf.git/+/12cd917 shelf_router_generator: Latest dependencies, null safety (#122)
 https://dart.googlesource.com/shelf.git/+/074341b Update dependencies and enable/fix a number of lints (#120)
 https://dart.googlesource.com/shelf.git/+/b094c25 shelf_router_generator: Support null-safe dependencies (#113)
 https://dart.googlesource.com/shelf.git/+/f07b3ef Prepare shelf_router 1.0.0
 https://dart.googlesource.com/shelf.git/+/4c73784 Remove Router.handler while we're at it
 https://dart.googlesource.com/shelf.git/+/b18f808 Remove checkNotNull
 https://dart.googlesource.com/shelf.git/+/cce2ad9 Oops, forgot to set _params
 https://dart.googlesource.com/shelf.git/+/797da6e Avoid lazy in router entry
 https://dart.googlesource.com/shelf.git/+/a03e120 Make default handler customizable
 https://dart.googlesource.com/shelf.git/+/ed942ce No unecessary version bump, don't test on stable
 https://dart.googlesource.com/shelf.git/+/e18b186 [WIP] Migrate shelf_router to Dart null safety
 https://dart.googlesource.com/shelf.git/+/2a7cdd5 Upgrade package:analyzer in shelf_router_generator.
 https://dart.googlesource.com/shelf.git/+/6466748 Router: allow to mount a Handler (#86)
 https://dart.googlesource.com/shelf.git/+/91b695d Seal classes in shelf_router and prepare 0.7.3 (#85)
 https://dart.googlesource.com/shelf.git/+/4b4f15c Fix most of the hints - thanks to `dart fix` (#81)
 https://dart.googlesource.com/shelf.git/+/e99bcd0 Relax dependency constraint on analyzer for shelf_router_generator. (#79)
 https://dart.googlesource.com/shelf.git/+/2893dab Remove author from pubspec.yaml (#73)
 https://dart.googlesource.com/shelf.git/+/ac41ee2 Updated Travis configuration to allow packages to be tested in parallel jobs (#59)
 https://dart.googlesource.com/shelf.git/+/ad11925 Fix package:shelf_router to ensure GET handlers also respond to HEAD requests (#36)
 https://dart.googlesource.com/shelf.git/+/6a07835 Relax dependency on package:analyzer
 https://dart.googlesource.com/shelf.git/+/02e05dc Merge pull request #27 from jonasfj/relax-deps
 https://dart.googlesource.com/shelf.git/+/84fdb64 relax dependency constraint on analyzer
 https://dart.googlesource.com/shelf.git/+/aea3117 Merge pull request #19 from jonasfj/test-unrelated-annotation
 https://dart.googlesource.com/shelf.git/+/563e435 Test that unrelated annotations does not affect code-gen
 https://dart.googlesource.com/shelf.git/+/213d63a Prepare for releasing 0.7.2
 https://dart.googlesource.com/shelf.git/+/910173d Add generated files
 https://dart.googlesource.com/shelf.git/+/d0e21d5 Added test case for string escaping
 https://dart.googlesource.com/shelf.git/+/663de80 Fix issue #10, use raw strings
 https://dart.googlesource.com/shelf.git/+/3a9cd9f Fix travis tests
 https://dart.googlesource.com/shelf.git/+/c7c3baf Use Function instead of dynamic for handler in shelf_router
 https://dart.googlesource.com/shelf.git/+/592fd64 Fixed #6, using Function instead of dynamic
 https://dart.googlesource.com/shelf.git/+/26e888f Bumped shelf_router_generator dependencies
 https://dart.googlesource.com/shelf.git/+/7622006 Updated shelf_router_generator README
 https://dart.googlesource.com/shelf.git/+/3aa13ea Fixing nits for shelf-router
 https://dart.googlesource.com/shelf.git/+/279af5d Prepared shelf_router_generator for initial release
 https://dart.googlesource.com/shelf.git/+/eb39128 Removed dependency overrides from shelf_router, and updated changelog
 https://dart.googlesource.com/shelf.git/+/8baca2f Added authors and tool for publishing packages
 https://dart.googlesource.com/shelf.git/+/9d9d82c Added packages shelf_router and shelf_router_generator

```

Diff: https://dart.googlesource.com/shelf.git/+/fadca320b04689be9ec960013843a0d9ee6c4fc4~..05f42601d22c9bfe490ceda50e812f83b7d1de77/
Change-Id: Icb576d2a6005a036963508c7e32a65752dfb3033
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/245903
Commit-Queue: Nate Bosch <nbosch@google.com>
Auto-Submit: Nate Bosch <nbosch@google.com>
Reviewed-by: Kevin Moore <kevmoo@google.com>
Commit-Queue: Kevin Moore <kevmoo@google.com>
copybara-service bot pushed a commit that referenced this issue Jun 2, 2022
…criptor, stack_trace, usage, watcher

bazel_worker (https://github.com/dart-lang/bazel_worker/compare/ceeba09..9710de6):
  9710de6  2022-04-19  Devon Carew  Update pubspec.yaml (#62)
  ec5905a  2022-03-20  Kevin Moore  Fix CI (#61)

collection (https://github.com/dart-lang/collection/compare/e1407da..69766da):
  69766da  2022-05-25  Nate Bosch  Add complexity bound on binary search methods (#239)
  5b43ad7  2022-04-08  Kevin Moore  Fix analysis issue with latest dev release (#236)
  e83c373  2022-04-08  Enrico Zamagni  fixed maxBy compare param signature (#224)
  c1a07e4  2022-04-08  Sandro Lovnički  Add a comment about NaN in min/max extensions (#234)
  2bbb27b  2022-03-07  Nate Bosch  Prepare to publish (#233)

mockito (https://github.com/dart-lang/mockito/compare/1e977a7..fcd6b28):
  fcd6b28  2022-05-16  srawlins  Release mockito 5.2.0
  2faf8f1  2022-05-16  srawlins  Import dart-lang/mockito#533
  0f8ed0c  2022-04-19  Devon Carew  Populate the pubspec 'repository' field.
  d399ca8  2022-05-13  fzyzcjy  Fix compile errors in Flutter 3.0
  948973e  2022-04-06  Samuel Rawlins  clarify docs for unsupportedMembers.
  b86c24d  2022-03-14  srawlins  Support `@GenerateMocks` annotations on `import` and `export` directives.
  c6971dd  2022-03-05  srawlins  Fix generation of methods with return type of `FutureOr<T>`.

pub_semver (https://github.com/dart-lang/pub_semver/compare/ea6c540..5c0b4bf):
  5c0b4bf  2022-03-07  Devon Carew  Update README.md (#65)

test_descriptor (https://github.com/dart-lang/test_descriptor/compare/ead23c1..5ed5d7f):
  5ed5d7f  2022-05-24  Nate Bosch  Move TestOn annotation to library level (#41)
  ecb2447  2022-05-03  Devon Carew  populate the repository field (#40)
  776a4c4  2022-03-02  dependabot[bot]  Bump actions/checkout from 2 to 3 (#39)
  d8eb6bd  2021-10-04  Kevin Moore  Migrate to pkg:lints, enable two disable lints (#38)

stack_trace (https://github.com/dart-lang/stack_trace/compare/5220580..17f09c2):
  17f09c2  2022-05-03  Devon Carew  Merge pull request #117 from dart-lang/repository_field
  a6403d0  2022-05-03  Devon Carew  switch to package:lints
  ae8b883  2022-05-03  Devon Carew  add markdown badges
  eed6081  2022-05-03  Devon Carew  populate the pubspec repository field
  46f6ee1  2022-02-01  Nate Bosch  Change a TODO to a permanent comment (#114)

usage (https://github.com/dart-lang/usage/compare/e85d575..79eef48):
  79eef48  2022-05-25  Devon Carew  refactor the github action (#177)
  f296352  2022-05-02  dependabot[bot]  Bump actions/checkout from 2 to 3 (#176)
  8852f1a  2022-05-02  Devon Carew  Update dependabot to watch github actions (#175)
  2d5b693  2022-04-26  Devon Carew  Update README.md (#174)
  2b2f3f8  2022-04-20  Devon Carew  Switch from homepage to repository in pubspec (#173)
  9b90d7c  2022-04-14  Devon Carew  Update dependabot.yaml (#172)

watcher (https://github.com/dart-lang/watcher/compare/f76997a..e00c0ea):
  e00c0ea  2022-01-19  Danny Tuppeny  Add/enable Windows tests (#124)


Change-Id: I0d48d3a7831040a18c996120cd51898e24215512
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/246725
Reviewed-by: Nate Bosch <nbosch@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
copybara-service bot pushed a commit that referenced this issue Sep 25, 2023
Revisions updated by `dart tools/rev_sdk_deps.dart`.

dartdoc (https://github.com/dart-lang/dartdoc/compare/0e1a6d9..a3cfdc4):
  a3cfdc40  2023-09-20  Sam Rawlins  Rename Feature to Attribute (#3499)
  497a685b  2023-09-18  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.0 to 1.5.1 (#3502)

ecosystem (https://github.com/dart-lang/ecosystem/compare/dcf5c4f..3da2dd3):
  3da2dd3  2023-09-22  Moritz  Allow both single-workflow and fork-enabled publishing validation (#174)

native (https://github.com/dart-lang/native/compare/a5d8809..be4aaf7):
  be4aaf7  2023-09-23  Daniel Breedeveld  Fix Header filename mismatch causing ffigen to produce empty output (#141)

Change-Id: Id8fe3ff92185bc366899f6634c6058b174ed9f82
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/327760
Auto-Submit: Devon Carew <devoncarew@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Commit-Queue: Devon Carew <devoncarew@google.com>
copybara-service bot pushed a commit that referenced this issue Oct 10, 2023
…t_channel, webdriver

Revisions updated by `dart tools/rev_sdk_deps.dart`.

dartdoc (https://github.com/dart-lang/dartdoc/compare/524b2b6..5156398):
  5156398c  2023-10-09  Sam Rawlins  Fix sidebar links for pub packages (#3510)
  960bac41  2023-10-09  dependabot[bot]  Bump ossf/scorecard-action from 2.2.0 to 2.3.0 (#3513)
  affc5b44  2023-10-08  Sam Rawlins  Remove some old, unused options (#3511)
  c147aa19  2023-10-06  Sam Rawlins  Fix left sidebar (#3507)

mockito (https://github.com/dart-lang/mockito/compare/49859e4..47a5588):
  47a5588  2023-10-06  Ilya Yanok  Don't try to compare fakes to real objects
  6b9eab9  2023-10-06  Ilya Yanok  Undo the formatting fix
  5ad2ff4  2023-10-05  Ilya Yanok  Change default dummy value for `String` to contain some info
  78c650b  2023-10-05  Ilya Yanok  Use SDK 3.0.0 for stable tests
  adbe265  2023-10-04  Ilya Yanok  Use 3.1.3 as stable SDK

native (https://github.com/dart-lang/native/compare/fd21f5b..22f4481):
  22f4481  2023-10-10  Daco Harkes  [native_assets_builder] Fix pub warning in tests (#155)

protobuf (https://github.com/dart-lang/protobuf/compare/c16bc89..c559fe5):
  c559fe5  2023-10-10  Ömer Sinan Ağacan  Release protoc_plugin-21.1.2 (#881)
  32ed0fe  2023-10-09  Ömer Sinan Ağacan  Fix a bug in comment parsing (#879)

test (https://github.com/dart-lang/test/compare/367aa39..4341470):
  4341470a  2023-10-06  Nate Bosch  Mention integration_test as an ignored directory (#2115)

tools (https://github.com/dart-lang/tools/compare/f318c80..92c5c15):
  92c5c15  2023-10-10  Devon Carew  update to the latest package:dart_flutter_team_lints (#174)

web_socket_channel (https://github.com/dart-lang/web_socket_channel/compare/364013d..f3ac1bf):
  f3ac1bf  2023-10-06  Nate Bosch  Mention `ready` in the docs for `connect` (#287)

webdriver (https://github.com/google/webdriver.dart/compare/21976d6..eaf9c58):
  eaf9c58  2023-10-05  Nate Bosch  Spawn test server in a background isolate (#285)
  ccd01e5  2023-10-05  dependabot[bot]  Bump actions/checkout from 3.6.0 to 4.1.0 (#284)
  f753b3e  2023-10-05  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.0 to 1.5.1 (#283)
  6bd246f  2023-10-05  Devon Carew  require dart 3.0; add publishing automation (#282)

Change-Id: I83ec9986cc8acc60be76267c2d1127f237e2b5c3
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/329943
Auto-Submit: Devon Carew <devoncarew@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
copybara-service bot pushed a commit that referenced this issue Nov 1, 2023
…, convert, crypto, csslib, ecosystem, ffi, file, fixnum, html, http, lints, logging, markdown, matcher, mime, native, path, pool, protobuf, pub_semver, shelf, source_map_stack_trace, source_maps, source_span, sse, stack_trace, stream_channel, string_scanner, term_glyph, test_descriptor, test_process, test_reflective_loader, tools, typed_data, watcher, web_socket_channel, webdriver, webkit_inspection_protocol, yaml, yaml_edit

Revisions updated by `dart tools/rev_sdk_deps.dart`.

async (https://github.com/dart-lang/async/compare/def4482..9924570):
  9924570  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#255)
  61cdb0f  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#254)

boolean_selector (https://github.com/dart-lang/boolean_selector/compare/479e1c1..7f523c3):
  7f523c3  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#53)
  1ed2941  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#54)

browser_launcher (https://github.com/dart-lang/browser_launcher/compare/c2871b2..4f9e784):
  4f9e784  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#51)
  706c031  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#52)

cli_util (https://github.com/dart-lang/cli_util/compare/56c1235..500dffa):
  500dffa  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#91)
  c66e201  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#92)

clock (https://github.com/dart-lang/clock/compare/200a020..f975668):
  f975668  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#59)
  eb5d2f5  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#58)

convert (https://github.com/dart-lang/convert/compare/03242b2..f24afa7):
  f24afa7  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#89)
  a3e9bc5  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#90)

crypto (https://github.com/dart-lang/crypto/compare/36ead7c..f3e64d2):
  f3e64d2  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#155)
  7a7b517  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#156)

csslib (https://github.com/dart-lang/csslib/compare/f6b68dd..17346e5):
  17346e5  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#191)
  4bdc553  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#192)

ecosystem (https://github.com/dart-lang/ecosystem/compare/4acfcaf..dda7886):
  dda7886  2023-11-01  dependabot[bot]  Bump peter-evans/create-or-update-comment (#192)
  b681c56  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#193)
  0d768d4  2023-11-01  dependabot[bot]  Bump subosito/flutter-action from 2.10.0 to 2.12.0 (#190)
  178d244  2023-11-01  dependabot[bot]  Bump actions/github-script (#194)
  4b3e572  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#191)

ffi (https://github.com/dart-lang/ffi/compare/2faec28..c926657):
  c926657  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#219)
  3181ec0  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#220)

file (https://github.com/google/file.dart/compare/7418131..e7c03aa):
  e7c03aa  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.0 to 1.6.0 (#233)

fixnum (https://github.com/dart-lang/fixnum/compare/ef45eb5..3279f5d):
  3279f5d  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#120)
  4913894  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#121)

html (https://github.com/dart-lang/html/compare/49e2c8e..06bc148):
  06bc148  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#232)
  2630607  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#233)

http (https://github.com/dart-lang/http/compare/7240d0a..b9389fe):
  b9389fe  2023-11-01  dependabot[bot]  Bump futureware-tech/simulator-action from 2 to 3 (#1037)
  d7c36ae  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#1038)

lints (https://github.com/dart-lang/lints/compare/5c60f48..f58fd77):
  f58fd77  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#168)

logging (https://github.com/dart-lang/logging/compare/642ed21..324a0b5):
  324a0b5  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#150)
  e9b13b7  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#151)

markdown (https://github.com/dart-lang/markdown/compare/4e2e970..efb73b3):
  efb73b3  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#561)
  2e4a3bc  2023-11-01  dependabot[bot]  Bump subosito/flutter-action from 2.10.0 to 2.11.0 (#559)
  22e378b  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#560)

matcher (https://github.com/dart-lang/matcher/compare/7512f80..3d03fa1):
  3d03fa1  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#231)
  b7d24c8  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#232)

mime (https://github.com/dart-lang/mime/compare/af3e5fe..8ebf946):
  8ebf946  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#108)
  4328d32  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#107)

native (https://github.com/dart-lang/native/compare/279094d..de9d59e):
  de9d59e  2023-11-01  Daco Harkes  [infra] Fix PR publisher comments (#177)
  22b6b24  2023-11-01  Daco Harkes  [infra] Rename `dart.yaml` to `native.yaml` (#176)
  cc42fb1  2023-11-01  Daco Harkes  [native_toolchain_c] Use sysroot on Android (#180)
  01d92b0  2023-11-01  Daco Harkes  [native_toolchain_c] Bump highest tested NDK version to 34 (#182)
  53facde  2023-11-01  Daco Harkes  [native_toolchain_c] Fix NDK discovery (#179)
  285ee6c  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#174)
  46a05e4  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#172)
  23187fe  2023-11-01  dependabot[bot]  Bump nttld/setup-ndk from 1.3.1 to 1.4.1 (#173)

path (https://github.com/dart-lang/path/compare/4ca27d4..18ec71f):
  18ec71f  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#153)
  f26c20c  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#154)

pool (https://github.com/dart-lang/pool/compare/5ccef15..c78cef4):
  c78cef4  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#76)

protobuf (https://github.com/dart-lang/protobuf/compare/3f567b2..dcec2ed):
  dcec2ed  2023-10-31  Ömer Sinan Ağacan  Annotate deepCopy with @useResult (#897)

pub_semver (https://github.com/dart-lang/pub_semver/compare/8e5a58f..f9e94ee):
  f9e94ee  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#95)
  81fdbcf  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#94)

shelf (https://github.com/dart-lang/shelf/compare/c15fc6f..b3adc7c):
  b3adc7c  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#391)
  baea52d  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#392)

source_map_stack_trace (https://github.com/dart-lang/source_map_stack_trace/compare/73d449c..2209626):
  2209626  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#45)
  bfa3949  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#44)

source_maps (https://github.com/dart-lang/source_maps/compare/fc6aa16..87dc587):
  87dc587  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#84)
  33ba11d  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#85)

source_span (https://github.com/dart-lang/source_span/compare/92e50bf..ed16e0d):
  ed16e0d  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#105)
  aacd748  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#104)

sse (https://github.com/dart-lang/sse/compare/37df57d..8ddb95f):
  8ddb95f  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#95)
  8830125  2023-11-01  dependabot[bot]  Bump nanasess/setup-chromedriver from 2.2.0 to 2.2.1 (#94)
  86dd8f9  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#93)

stack_trace (https://github.com/dart-lang/stack_trace/compare/634589f..6496ff8):
  6496ff8  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#145)
  3d60304  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#144)

stream_channel (https://github.com/dart-lang/stream_channel/compare/ffdb208..178104d):
  178104d  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#98)
  1193387  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#97)

string_scanner (https://github.com/dart-lang/string_scanner/compare/9c525f7..a7105ef):
  a7105ef  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#65)
  f33ca6f  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#66)

term_glyph (https://github.com/dart-lang/term_glyph/compare/cff80de..7c1eb9d):
  7c1eb9d  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#45)
  39073ca  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#44)

test_descriptor (https://github.com/dart-lang/test_descriptor/compare/55b5eac..c417cbb):
  c417cbb  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#59)
  dcfde39  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#58)

test_process (https://github.com/dart-lang/test_process/compare/d610333..c21e40d):
  c21e40d  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#51)
  bfd0576  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#50)

test_reflective_loader (https://github.com/dart-lang/test_reflective_loader/compare/8593eb1..17d40bb):
  17d40bb  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#54)
  e664092  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#55)

tools (https://github.com/dart-lang/tools/compare/01c0b52..dd91cb6):
  dd91cb6  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#192)
  603b012  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#191)

typed_data (https://github.com/dart-lang/typed_data/compare/d1c15ed..0b16bd2):
  0b16bd2  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#76)
  f869102  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#77)

watcher (https://github.com/dart-lang/watcher/compare/6ad58dc..b2b278a):
  b2b278a  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#154)
  97e9637  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#155)

web_socket_channel (https://github.com/dart-lang/web_socket_channel/compare/f3ac1bf..82ac73f):
  82ac73f  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#289)
  3615850  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#290)

webdriver (https://github.com/google/webdriver.dart/compare/eaf9c58..43ed1db):
  43ed1db  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#289)
  02fd658  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#288)
  8828360  2023-11-01  dependabot[bot]  Bump nanasess/setup-chromedriver from 2.2.0 to 2.2.1 (#287)

webkit_inspection_protocol (https://github.com/google/webkit_inspection_protocol.dart/compare/82f0c1c..2c6f8b6):
  2c6f8b6  2023-11-01  dependabot[bot]  Bump actions/checkout from 3.6.0 to 4.1.1 (#114)
  d4e4d55  2023-11-01  dependabot[bot]  Bump nanasess/setup-chromedriver from 2.2.0 to 2.2.1 (#115)

yaml (https://github.com/dart-lang/yaml/compare/9f0d649..98a3aab):
  98a3aab  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#154)
  b63372b  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#155)

yaml_edit (https://github.com/dart-lang/yaml_edit/compare/a7e7fba..9b9d33c):
  9b9d33c  2023-11-01  dependabot[bot]  Bump actions/checkout from 4.1.0 to 4.1.1 (#61)
  b71c2e8  2023-11-01  dependabot[bot]  Bump dart-lang/setup-dart from 1.5.1 to 1.6.0 (#60)

Change-Id: I8b663f536d4e80728c6570372d886edfef227cf1
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/333059
Auto-Submit: Devon Carew <devoncarew@google.com>
Commit-Queue: Konstantin Shcheglov <scheglov@google.com>
Reviewed-by: Konstantin Shcheglov <scheglov@google.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-language Dart language related items (some items might be better tracked at github.com/dart-lang/language). closed-duplicate Closed in favor of an existing report P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug
Projects
None yet
Development

No branches or pull requests

9 participants