-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Comments
Added Area-Library, Triaged labels. |
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". 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 the owner. |
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([ |
Removed this from the Later milestone. |
Removed Oldschool-Milestone-Later label. |
See also issue #3792. Not exactly a duplicate, but close. |
This comment was originally written by @Emasoft @andrew.m : The answers are of course the following: #1 #2 |
This comment was originally written by @Emasoft @sra :
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([ Set<FordClass, ToyotaClass> setA = new Set(); In other words, the statement: typeOf(setC) == Set<FordClass, ToyotaClass, OpelClass> would evaluate to true. |
This comment was originally written by @Emasoft
The resulting sets are equivalent to: // because arr1 is interpreted as setA.AddElementsFromList(arr1) // because the constructor overload with multiple parameters is called when there are multiple elements // 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. 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) { 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. |
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. |
This comment was originally written by @Emasoft A linkedHashSet is not a Set. It is something else entirely. This should be corrected asap. 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. |
Has this been addressed already? The most pretty format would probably be |
Nope. No update yet. |
Rolling this into #3792, since it asks for general set literals, and those should be able to be const too. |
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>
…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>
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>
…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>
…, 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>
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 {}".
The text was updated successfully, but these errors were encountered: