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

Unified Diff: utils/pub/utils.dart

Issue 11414069: Make mappedBy lazy. (Closed) Base URL: https://dart.googlecode.com/svn/experimental/lib_v2/dart
Patch Set: Reupload due to error. Created 8 years, 1 month 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
Index: utils/pub/utils.dart
diff --git a/utils/pub/utils.dart b/utils/pub/utils.dart
index 1b4d93fce182df2dc4c485fac23656136d0f83cf..d730ea77de7d20b71a39862d695bfbd0813ab2ab 100644
--- a/utils/pub/utils.dart
+++ b/utils/pub/utils.dart
@@ -55,7 +55,7 @@ always(Future future, fn()) {
/**
* Flattens nested lists into a single list containing only non-list elements.
*/
-List flatten(List nested) {
+List flatten(Iterable nested) {
var result = [];
helper(list) {
for (var element in list) {

Powered by Google App Engine
This is Rietveld 408576698