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

Issue 9429032: Fix build breakage caused by the recent toString() commit. (Closed)

Created:
8 years, 10 months ago by cshapiro
Modified:
8 years, 10 months ago
Reviewers:
jjb
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix build breakage caused by the recent toString() commit. Type randomElement as returning and Object, not a void. This failed in checked mode. Rewrite another import of collections.dart to point to its new location. This broke the leg build. Committed: https://code.google.com/p/dart/source/detail?r=4422

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M frog/leg/lib/coreimpl.dart View 2 chunks +1 line, -1 line 0 comments Download
M tests/corelib/src/CollectionToStringTest.dart View 1 chunk +1 line, -1 line 1 comment Download

Messages

Total messages: 3 (0 generated)
cshapiro
8 years, 10 months ago (2012-02-22 03:29:54 UTC) #1
cshapiro
TBR=jjb
8 years, 10 months ago (2012-02-22 03:30:11 UTC) #2
jjb
8 years, 10 months ago (2012-02-22 04:55:06 UTC) #3
lgtm

Thanks for attending to this!

http://codereview.chromium.org/9429032/diff/1/tests/corelib/src/CollectionToS...
File tests/corelib/src/CollectionToStringTest.dart (right):

http://codereview.chromium.org/9429032/diff/1/tests/corelib/src/CollectionToS...
tests/corelib/src/CollectionToStringTest.dart:257: Object randomElement(int
size, bool exact, StringBuffer stringRep,
I find it astonishing that the compiler never told me about this!  I did a lot
testing, with type-checking enabled.

Powered by Google App Engine
This is Rietveld 408576698