| Index: sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart
|
| diff --git a/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart b/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart
|
| index 3efcad2fe49593ed4c456654e666d87f59604370..a549a6e6811e107d89cec7f6bc80c33839756d73 100644
|
| --- a/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart
|
| +++ b/sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart
|
| @@ -295,9 +295,6 @@ class SimpleTypesInferrer extends TypesInferrer {
|
| }
|
| TypeMask getTypeOfElement(Element element) {
|
| if (compiler.disableTypeInference) return compiler.typesTask.dynamicType;
|
| - if (element.isField() && compiler.backend.isNeededForReflection(element)) {
|
| - return compiler.typesTask.dynamicType;
|
| - }
|
| return internal.getTypeOfElement(element.implementation);
|
| }
|
| TypeMask getTypeOfNode(Element owner, Node node) {
|
|
|