| Index: pkg/analyzer_experimental/lib/src/generated/element.dart
|
| diff --git a/pkg/analyzer_experimental/lib/src/generated/element.dart b/pkg/analyzer_experimental/lib/src/generated/element.dart
|
| index 1a140b963be8f086e6f3ce95b41776c31b925458..3d7e2a43beb8a992ee9e5a626c2f55910eee9741 100644
|
| --- a/pkg/analyzer_experimental/lib/src/generated/element.dart
|
| +++ b/pkg/analyzer_experimental/lib/src/generated/element.dart
|
| @@ -1277,9 +1277,9 @@ class ClassElementImpl extends ElementImpl implements ClassElement {
|
| accept(ElementVisitor visitor) => visitor.visitClassElement(this);
|
| List<PropertyAccessorElement> get accessors => _accessors;
|
| List<InterfaceType> get allSupertypes {
|
| - Collection<InterfaceType> list = new Set<InterfaceType>();
|
| - collectAllSupertypes(list);
|
| - return new List.from(list);
|
| + Set<InterfaceType> set = new Set<InterfaceType>();
|
| + collectAllSupertypes(set);
|
| + return set.toList();
|
| }
|
| ElementImpl getChild(String identifier25) {
|
| for (PropertyAccessorElement accessor in _accessors) {
|
| @@ -1541,7 +1541,7 @@ class ClassElementImpl extends ElementImpl implements ClassElement {
|
| builder.append(">");
|
| }
|
| }
|
| - void collectAllSupertypes(Collection<InterfaceType> list) {
|
| + void collectAllSupertypes(var list) {
|
| if (_supertype == null || list.contains(_supertype)) {
|
| return;
|
| }
|
| @@ -4913,4 +4913,4 @@ abstract class TypeVariableType implements Type2 {
|
| */
|
| abstract class VoidType implements Type2 {
|
| VoidType substitute2(List<Type2> argumentTypes, List<Type2> parameterTypes);
|
| -}
|
| +}
|
|
|