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
[smoke] compareList(unordered: true) is broken #19471
Comments
fix out for review https://codereview.chromium.org/370493002/ Added this to the 1.6 milestone. |
Removed this from the 1.6 milestone. |
Removed Polymer-P-1 label. |
Added PolymerMilestone-Next label. |
Removed Polymer-Milestone-Next label. |
This comment was originally written by @vicb Seems like the code is still broken (I've left a comment in the review) |
Added Fixed label. |
This issue has been moved to dart-archive/smoke#12. |
This issue was originally filed by @vicb
The unordered comparison is broken in common.dart:
var bSet = new Set()..addAll(b);
for (int i = 0; i < a.length; i++) {
if (!bSet.contains(a[i])) return false;
}
if a=[1, 1, 1] and b = [1, 2, 3] it will return true.
The text was updated successfully, but these errors were encountered: