Index: lib/runtime/dart/_debugger.js |
diff --git a/lib/runtime/dart/_debugger.js b/lib/runtime/dart/_debugger.js |
index 3414b2d7371b41582e7ad95711ff82523d453946..0f7507a442a0ac8a72cbe78cc4f437dfba66d3fb 100644 |
--- a/lib/runtime/dart/_debugger.js |
+++ b/lib/runtime/dart/_debugger.js |
@@ -384,13 +384,13 @@ dart_library.library('dart/_debugger', null, /* Imports */[ |
} |
preview(object) { |
let map = dart.as(object, core.Map); |
- return `${getObjectTypeName(map)} length ${map.length}`; |
+ return `${getObjectTypeName(map)} length ${map[dartx.length]}`; |
} |
children(object) { |
let map = dart.as(object, core.Map); |
- let keys = map.keys[dartx.toList](); |
+ let keys = map[dartx.keys][dartx.toList](); |
let entries = dart.list([], NameValuePair); |
- map.forEach(dart.fn((key, value) => { |
+ map[dartx.forEach](dart.fn((key, value) => { |
let entryWrapper = new MapEntry({key: dart.as(key, core.String), value: value}); |
entries[dartx.add](new NameValuePair({name: dart.toString(entries[dartx.length]), value: entryWrapper})); |
}, dart.void, [dart.dynamic, dart.dynamic])); |