Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(252)

Issue 2715833004: fix ListMixin _filter and sort to work in strong mode (Closed)

Created:
3 years, 10 months ago by Jennifer Messerly
Modified:
3 years, 9 months ago
CC:
reviews_dartlang.org, vsm
Target Ref:
refs/heads/master
Visibility:
Public.

Description

fix ListMixin _filter and sort to work in strong mode R=lrn@google.com Committed: https://github.com/dart-lang/sdk/commit/373149e00390ad58e201c3bf975e8312c3613d8c

Patch Set 1 #

Total comments: 5

Patch Set 2 : introduce _compareAny #

Total comments: 3

Patch Set 3 : remove 'source' parameter and merge #

Patch Set 4 : clarify comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -18 lines) Patch
M sdk/lib/collection/list.dart View 1 2 3 2 chunks +18 lines, -18 lines 0 comments Download

Messages

Total messages: 9 (3 generated)
Jennifer Messerly
Here's one more strong mode fix to the SDK. https://codereview.chromium.org/2715833004/diff/1/sdk/lib/collection/list.dart File sdk/lib/collection/list.dart (right): https://codereview.chromium.org/2715833004/diff/1/sdk/lib/collection/list.dart#newcode278 sdk/lib/collection/list.dart:278: ...
3 years, 10 months ago (2017-02-24 23:23:57 UTC) #2
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/2715833004/diff/1/sdk/lib/collection/list.dart File sdk/lib/collection/list.dart (right): https://codereview.chromium.org/2715833004/diff/1/sdk/lib/collection/list.dart#newcode278 sdk/lib/collection/list.dart:278: List<E> retained = <E>[]; On 2017/02/24 23:23:57, Jennifer ...
3 years, 10 months ago (2017-02-25 10:53:15 UTC) #3
Jennifer Messerly
Thanks! I've added _compareAny if you want to take another look. https://codereview.chromium.org/2715833004/diff/1/sdk/lib/collection/list.dart File sdk/lib/collection/list.dart (right): ...
3 years, 9 months ago (2017-02-27 18:28:08 UTC) #5
Lasse Reichstein Nielsen
lgtm https://codereview.chromium.org/2715833004/diff/40001/sdk/lib/collection/list.dart File sdk/lib/collection/list.dart (right): https://codereview.chromium.org/2715833004/diff/40001/sdk/lib/collection/list.dart#newcode313 sdk/lib/collection/list.dart:313: // In strong mode this requires a cast ...
3 years, 9 months ago (2017-02-28 07:05:57 UTC) #6
Jennifer Messerly
thank you! https://codereview.chromium.org/2715833004/diff/40001/sdk/lib/collection/list.dart File sdk/lib/collection/list.dart (right): https://codereview.chromium.org/2715833004/diff/40001/sdk/lib/collection/list.dart#newcode277 sdk/lib/collection/list.dart:277: void _filter(List source, bool test(var element), bool ...
3 years, 9 months ago (2017-02-28 18:36:35 UTC) #7
Jennifer Messerly
3 years, 9 months ago (2017-02-28 18:37:38 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:80001) manually as
373149e00390ad58e201c3bf975e8312c3613d8c (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698