-
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
Incomplete documentation for Set.add() #474
Comments
This comment was originally written by [email protected] This issue is filed in addition to #472, to track Set documentation specifically (rather than conflicting factory clause). |
This comment was originally written by [email protected] Added Area-Language, Triaged labels. |
This comment was originally written by [email protected] Set owner to [email protected]. |
This comment was originally written by [email protected] Set owner to [email protected]. |
Added Fixed label. |
Revisions updated by `dart tools/rev_sdk_deps.dart`. markdown (https://github.com/dart-lang/markdown/compare/93d0eee..9b61871): 9b61871 2022-10-25 Kevin Moore Make helper class private that should not have been exposed (#476) 299964e 2022-10-26 le.chang Return list for link nodes creation (#452) aee6a40 2022-10-25 Kevin Moore validate code coverage on CI (#474) 88f3f8a 2022-10-25 Zhiguang Chen Fix html entity and numeric character references (#467) source_span (https://github.com/dart-lang/source_span/compare/ff03af1..d1d47e5): d1d47e5 2022-10-25 Kevin Moore Require Dart 2.18, update lints, latest pkg:lints, add dependabot (#88) string_scanner (https://github.com/dart-lang/string_scanner/compare/2d84b16..10435a4): 10435a4 2022-10-25 Kevin Moore Update minimum SDK, latest pkg:lints, update CI actions (#48) Change-Id: I94dbb0830600cb5304aaae16b2ae715bfc71411e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/265641 Auto-Submit: Devon Carew <[email protected]> Commit-Queue: Nate Bosch <[email protected]> Reviewed-by: Nate Bosch <[email protected]>
Changes: ``` > git log --format="%C(auto) %h %s" 93d0eee..49eefd2 https://dart.googlesource.com/markdown.git/+/49eefd2 Refactor AutolinkExtensionSyntax (#471) https://dart.googlesource.com/markdown.git/+/07e2683 Optimise TableSyntax (#472) https://dart.googlesource.com/markdown.git/+/9b61871 Make helper class private that should not have been exposed (#476) https://dart.googlesource.com/markdown.git/+/299964e Return list for link nodes creation (#452) https://dart.googlesource.com/markdown.git/+/aee6a40 validate code coverage on CI (#474) https://dart.googlesource.com/markdown.git/+/88f3f8a Fix html entity and numeric character references (#467) ``` Diff: https://dart.googlesource.com/markdown.git/+/93d0eee771f6355be6737c2a865f613f6b105bf1~..49eefd211e7840bac7e11257cd966435ae3cb07f/ Change-Id: I2a88d7c386f567738226701be4edcd7c4818744f Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/266760 Auto-Submit: Devon Carew <[email protected]> Commit-Queue: Oleh Prypin <[email protected]> Reviewed-by: Oleh Prypin <[email protected]>
This issue was originally filed by [email protected]
Current specification reads:
/**
* Adds [value] into the set. The method has no effect if
* [value] was already in the set.
*/
void add(E value);
It is unclear how the value is checked for uniqueness: by identity, equality, hash code, whatever?
This is actually relevant to overall Set documentation, and affects all other methods & constructors (except clear()).
Please expand the documentation to address this.
The text was updated successfully, but these errors were encountered: