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

Issue 11777016: Fix some failures in html/element_test by changing where(...)[0] to where(...).first. (Closed)

Created:
7 years, 11 months ago by Bill Hesse
Modified:
7 years, 11 months ago
Reviewers:
floitsch
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix some failures in html/element_test by changing where(...)[0] to where(...).first. BUG= Committed: https://code.google.com/p/dart/source/detail?r=16707

Patch Set 1 #

Patch Set 2 : Add relaxation of List.from parameter type. #

Patch Set 3 : Fix type check on .where(...) from List to Iterable. #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -5 lines) Patch
M sdk/lib/core/list.dart View 1 1 chunk +1 line, -1 line 1 comment Download
M tests/html/element_test.dart View 1 2 3 chunks +6 lines, -4 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
Bill Hesse
7 years, 11 months ago (2013-01-07 14:18:07 UTC) #1
Bill Hesse
7 years, 11 months ago (2013-01-07 14:55:19 UTC) #2
floitsch
7 years, 11 months ago (2013-01-07 14:59:02 UTC) #3
LGTM.

https://codereview.chromium.org/11777016/diff/6001/sdk/lib/core/list.dart
File sdk/lib/core/list.dart (right):

https://codereview.chromium.org/11777016/diff/6001/sdk/lib/core/list.dart#new...
sdk/lib/core/list.dart:41: for (var e in other) {
for (E e in other) {

Powered by Google App Engine
This is Rietveld 408576698