| Index: sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart
|
| ===================================================================
|
| --- sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart (revision 26986)
|
| +++ sdk/lib/_internal/compiler/implementation/types/simple_types_inferrer.dart (working copy)
|
| @@ -295,9 +295,6 @@
|
| }
|
| 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) {
|
|
|