Index: pkg/kernel/lib/class_hierarchy.dart |
diff --git a/pkg/kernel/lib/class_hierarchy.dart b/pkg/kernel/lib/class_hierarchy.dart |
index 32bf695881c682f71faca80fc46042861275b521..17a981dc9eec376a8c437d87a15d01d87e45fa85 100644 |
--- a/pkg/kernel/lib/class_hierarchy.dart |
+++ b/pkg/kernel/lib/class_hierarchy.dart |
@@ -415,10 +415,14 @@ class ClassHierarchy { |
} |
// One of the two lists is now exhausted, copy over the remains. |
while (i < declared.length) { |
- result[storeIndex++] = declared[i++]; |
+ Member declaredMember = declared[i++]; |
+ if (skipAbstractMembers && declaredMember.isAbstract) continue; |
+ result[storeIndex++] = declaredMember; |
} |
while (j < inherited.length) { |
- result[storeIndex++] = inherited[j++]; |
+ Member inheritedMember = inherited[j++]; |
+ if (skipAbstractMembers && inheritedMember.isAbstract) continue; |
+ result[storeIndex++] = inheritedMember; |
} |
result.length = storeIndex; |
return result; |