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)}"); |
}); |