Index: pkg/compiler/lib/src/resolution/class_members.dart |
diff --git a/pkg/compiler/lib/src/resolution/class_members.dart b/pkg/compiler/lib/src/resolution/class_members.dart |
index 9381d2828e5abeb1bc877dc6affceb999ff415b5..c3063f3f83ada2b333885382f15f6fba811a15f1 100644 |
--- a/pkg/compiler/lib/src/resolution/class_members.dart |
+++ b/pkg/compiler/lib/src/resolution/class_members.dart |
@@ -105,7 +105,8 @@ abstract class MembersCreator { |
ClassElement superclass = supertype.element; |
// Inherit class and interface members from superclass. |
- void inheritClassMember(DeclaredMember member) { |
+ void inheritClassMember(Member _member) { |
+ DeclaredMember member = _member; |
if (shouldSkipMember(member)) return; |
if (!member.isStatic) { |
DeclaredMember inherited = member.inheritFrom(supertype); |
@@ -136,7 +137,8 @@ abstract class MembersCreator { |
if (mixinApplication.mixin != null) { |
// Only mix in class members when the mixin type is not malformed. |
- void inheritMixinMember(DeclaredMember member) { |
+ void inheritMixinMember(Member _member) { |
+ DeclaredMember member = _member; |
if (shouldSkipMember(member)) return; |
Name name = member.name; |
if (!member.isAbstract && !member.isStatic) { |
@@ -165,7 +167,8 @@ abstract class MembersCreator { |
LibraryElement library = cls.library; |
ResolutionInterfaceType thisType = cls.thisType; |
- void createMember(MemberElement element) { |
+ void createMember(Element _element) { |
+ MemberElement element = _element; |
if (element.isConstructor) return; |
String elementName = element.name; |
if (shouldSkipName(elementName)) return; |