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

Unified Diff: lib/coreimpl/collections.dart

Issue 10948009: Revert 12494. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 | « lib/core/strings.dart ('k') | lib/coreimpl/coreimpl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: lib/coreimpl/collections.dart
===================================================================
--- lib/coreimpl/collections.dart (revision 12500)
+++ lib/coreimpl/collections.dart (working copy)
@@ -138,7 +138,7 @@
Maps._emitMap(o, result, visiting);
}
} else { // o is neither a collection nor a map
- result.add(o);
+ result.add(o == null ? 'null' : o); // TODO(jjb): remove the null check
}
}
« no previous file with comments | « lib/core/strings.dart ('k') | lib/coreimpl/coreimpl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698