Index: pkg/compiler/lib/src/common_elements.dart |
diff --git a/pkg/compiler/lib/src/common_elements.dart b/pkg/compiler/lib/src/common_elements.dart |
index 0c7edc97a9f675256dfbbb8030bcdf82b1e22482..86d62ea491d0f213d9421b18c281973a01eac4f2 100644 |
--- a/pkg/compiler/lib/src/common_elements.dart |
+++ b/pkg/compiler/lib/src/common_elements.dart |
@@ -1329,9 +1329,12 @@ abstract class ElementEnvironment { |
/// `Object`. |
DartType getTypeVariableBound(TypeVariableEntity typeVariable); |
- /// Returns the type if [function]. |
+ /// Returns the type of [function]. |
FunctionType getFunctionType(FunctionEntity function); |
+ /// Returns the type of [field]. |
+ DartType getFieldType(FieldEntity field); |
+ |
/// Returns the type of the [local] function. |
FunctionType getLocalFunctionType(Local local); |