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

Unified Diff: tests/corelib/src/CollectionToStringTest.dart

Issue 9429032: Fix build breakage caused by the recent toString() commit. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « frog/leg/lib/coreimpl.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/corelib/src/CollectionToStringTest.dart
diff --git a/tests/corelib/src/CollectionToStringTest.dart b/tests/corelib/src/CollectionToStringTest.dart
index 75161bb3e034b9b8bf4037cb074bc7e546f737f3..fae9c50779d262b8105692cea08d5f6ec2537985 100644
--- a/tests/corelib/src/CollectionToStringTest.dart
+++ b/tests/corelib/src/CollectionToStringTest.dart
@@ -254,7 +254,7 @@ Map populateRandomMap(int size, bool exact, StringBuffer stringRep,
* If exact is true, the returned element will not be, and will not contain
* a collection with ill-defined iteration order (i.e., a HashSet or HashMap).
*/
-void randomElement(int size, bool exact, StringBuffer stringRep,
+Object randomElement(int size, bool exact, StringBuffer stringRep,
jjb 2012/02/22 04:55:06 I find it astonishing that the compiler never told
List beingMade) {
Object result;
double elementTypeFrac = Math.random();
« no previous file with comments | « frog/leg/lib/coreimpl.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698