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

Unified Diff: lib/compiler/implementation/js_backend/backend.dart

Issue 11267018: Make getKeys, getValues getters (keys, values). (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Update status files with co19 issue number. Created 8 years, 2 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
Index: lib/compiler/implementation/js_backend/backend.dart
diff --git a/lib/compiler/implementation/js_backend/backend.dart b/lib/compiler/implementation/js_backend/backend.dart
index a196406cf33fb5ebae21bece76cbd1a90cda1a8c..206da1d492afbc34cdf1aaa6b97c92bc3b2ccd55 100644
--- a/lib/compiler/implementation/js_backend/backend.dart
+++ b/lib/compiler/implementation/js_backend/backend.dart
@@ -422,9 +422,9 @@ class FieldTypesRegistry {
void dump() {
Set<Element> allFields = new Set<Element>();
- fieldInitializerTypeMap.getKeys().forEach(allFields.add);
- fieldConstructorTypeMap.getKeys().forEach(allFields.add);
- fieldTypeMap.getKeys().forEach(allFields.add);
+ fieldInitializerTypeMap.keys.forEach(allFields.add);
+ fieldConstructorTypeMap.keys.forEach(allFields.add);
+ fieldTypeMap.keys.forEach(allFields.add);
allFields.forEach((Element field) {
print("Inferred $field has type ${optimisticFieldType(field)}");
});
« no previous file with comments | « lib/compiler/implementation/elements/elements.dart ('k') | lib/compiler/implementation/lib/constant_map.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698