Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(531)

Unified Diff: pkg/compiler/lib/src/resolution/class_members.dart

Issue 2944843002: All strong mode cleaning of dart2js. (Closed)
Patch Set: More issues discovered during testing. Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « pkg/compiler/lib/src/parser/partial_elements.dart ('k') | pkg/compiler/lib/src/resolution/enum_creator.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698