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

Issue 2467113003: Make EfficientLength extend Iterable. (Closed)

Created:
4 years, 1 month ago by Lasse Reichstein Nielsen
Modified:
4 years ago
Reviewers:
floitsch, siva
CC:
reviews_dartlang.org, vm-dev_dartlang.org, siva, Siggi Cherem (dart-lang)
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Make EfficientLength extend Iterable. This should help least-upper-bound computations to not think of EfficientLength as completely separate from Iterable even though they are always used together. It doesn't solve all problems with the least-upper-bound computation, but at least some of the more often occuring ones. R=floitsch@google.com Committed: https://github.com/dart-lang/sdk/commit/b08fb1373f88121bb4056adce9b71849a5bede2a Committed: https://github.com/dart-lang/sdk/commit/7957a1c2562ae4398ac05e5b36b3df06fff423a9

Patch Set 1 #

Patch Set 2 : Fix a VM test that assumes too much about the object hierarchy. #

Total comments: 1

Patch Set 3 : Reverted, prepare to reland. Make new test not break web-testing framework. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -52 lines) Patch
M runtime/lib/array_patch.dart View 1 chunk +1 line, -1 line 0 comments Download
M runtime/lib/collection_patch.dart View 3 chunks +3 lines, -6 lines 0 comments Download
M runtime/lib/growable_array.dart View 1 chunk +1 line, -1 line 0 comments Download
M runtime/lib/immutable_map.dart View 2 chunks +2 lines, -4 lines 0 comments Download
M runtime/lib/string_patch.dart View 1 chunk +1 line, -1 line 0 comments Download
M runtime/vm/debugger_api_impl_test.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M sdk/lib/_internal/js_runtime/lib/collection_patch.dart View 2 chunks +2 lines, -4 lines 0 comments Download
M sdk/lib/_internal/js_runtime/lib/js_array.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M sdk/lib/_internal/js_runtime/lib/js_helper.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/_internal/js_runtime/lib/linked_hash_map.dart View 1 chunk +1 line, -2 lines 0 comments Download
M sdk/lib/collection/iterable.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/collection/list.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M sdk/lib/collection/maps.dart View 1 chunk +1 line, -2 lines 0 comments Download
M sdk/lib/collection/queue.dart View 2 chunks +2 lines, -2 lines 0 comments Download
M sdk/lib/collection/splay_tree.dart View 2 chunks +2 lines, -4 lines 0 comments Download
M sdk/lib/core/iterable.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/core/list.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/core/set.dart View 1 chunk +1 line, -1 line 0 comments Download
M sdk/lib/internal/iterable.dart View 11 chunks +12 lines, -12 lines 0 comments Download
M tests/corelib/growable_list_test.dart View 3 chunks +3 lines, -3 lines 0 comments Download
A tests/language/efficient_length_warning_test.dart View 1 2 1 chunk +17 lines, -0 lines 0 comments Download

Messages

Total messages: 13 (4 generated)
Lasse Reichstein Nielsen
4 years, 1 month ago (2016-11-02 12:35:10 UTC) #2
floitsch
LGTM.
4 years, 1 month ago (2016-11-02 12:38:20 UTC) #3
Lasse Reichstein Nielsen
https://codereview.chromium.org/2467113003/diff/20001/runtime/vm/debugger_api_impl_test.cc File runtime/vm/debugger_api_impl_test.cc (right): https://codereview.chromium.org/2467113003/diff/20001/runtime/vm/debugger_api_impl_test.cc#newcode2263 runtime/vm/debugger_api_impl_test.cc:2263: const Type& actual_type = Api::UnwrapTypeHandle(zone, super2_type); This is a ...
4 years, 1 month ago (2016-11-02 13:02:45 UTC) #4
Lasse Reichstein Nielsen
Committed patchset #2 (id:20001) manually as b08fb1373f88121bb4056adce9b71849a5bede2a (presubmit successful).
4 years, 1 month ago (2016-11-02 13:05:40 UTC) #6
Lasse Reichstein Nielsen
@vsm, @sigmund I did not change the DDC libraries in this change. I had the ...
4 years, 1 month ago (2016-11-02 13:11:27 UTC) #7
vsm
On 2016/11/02 13:11:27, Lasse Reichstein Nielsen wrote: > @vsm, @sigmund > I did not change ...
4 years, 1 month ago (2016-11-02 20:11:24 UTC) #8
siva
This appears to have broken the analyzer as used by Flutter see (https://travis-ci.org/flutter/flutter/builds/172706676). The new ...
4 years, 1 month ago (2016-11-02 20:21:58 UTC) #10
siva
I think the flutter issue could have been because they rolled the VM independent of ...
4 years, 1 month ago (2016-11-02 20:37:30 UTC) #11
Lasse Reichstein Nielsen
4 years ago (2016-11-28 07:04:34 UTC) #13
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
7957a1c2562ae4398ac05e5b36b3df06fff423a9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698