Chromium Code Reviews| 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 |
| } |
| } |