Index: lib/compiler/implementation/compile_time_constants.dart |
diff --git a/lib/compiler/implementation/compile_time_constants.dart b/lib/compiler/implementation/compile_time_constants.dart |
index 0a3eea61b699664af32b3b96c767e1fd55027594..af84f521e447282d8e966da74d75c1e9acfb87ce 100644 |
--- a/lib/compiler/implementation/compile_time_constants.dart |
+++ b/lib/compiler/implementation/compile_time_constants.dart |
@@ -187,7 +187,7 @@ class ConstantHandler extends CompilerTask { |
* other. |
*/ |
List<VariableElement> getStaticNonFinalFieldsForEmission() { |
- return initialVariableValues.getKeys().filter((element) { |
+ return initialVariableValues.keys.filter((element) { |
return element.kind == ElementKind.FIELD |
&& !element.isInstanceMember() |
&& !element.modifiers.isFinal(); |
@@ -200,7 +200,7 @@ class ConstantHandler extends CompilerTask { |
* other. |
*/ |
List<VariableElement> getStaticFinalFieldsForEmission() { |
- return initialVariableValues.getKeys().filter((element) { |
+ return initialVariableValues.keys.filter((element) { |
return element.kind == ElementKind.FIELD |
&& !element.isInstanceMember() |
&& element.modifiers.isFinal(); |