Index: sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart |
diff --git a/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart b/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart |
index d7b26d6d569bee7f6a067aee82837eb7393cf779..94ace7373f8f34a1dbf2792785c8155ce69dfa16 100644 |
--- a/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart |
+++ b/sdk/lib/_internal/compiler/implementation/mirrors/dart2js_mirror.dart |
@@ -492,8 +492,7 @@ abstract class Dart2JsContainerMirror extends Dart2JsElementMirror |
return new AsFilteredImmutableMap<String, MemberMirror, MethodMirror>( |
_members, |
(MemberMirror member) => |
- member is MethodMirror && (member as MethodMirror).isGetter ? |
- member : null); |
+ member is MethodMirror && member.isGetter ? member : null); |
} |
Map<String, MethodMirror> get setters { |
@@ -501,8 +500,7 @@ abstract class Dart2JsContainerMirror extends Dart2JsElementMirror |
return new AsFilteredImmutableMap<String, MemberMirror, MethodMirror>( |
_members, |
(MemberMirror member) => |
- member is MethodMirror && (member as MethodMirror).isSetter ? |
- member : null); |
+ member is MethodMirror && member.isSetter ? member : null); |
} |
Map<String, VariableMirror> get variables { |