Skip to content

Commit deb804f

Browse files
scheglovCommit Queue
authored andcommitted
Elements. Remove TypeDefiningElementImpl.
Change-Id: I6afdc5742c0b78df505b0ede3d4c6ac5a2484902 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/440861 Reviewed-by: Paul Berry <[email protected]> Commit-Queue: Konstantin Shcheglov <[email protected]>
1 parent 36598d8 commit deb804f

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

pkg/analyzer/lib/src/dart/element/element.dart

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,7 +1233,7 @@ class DirectiveUriWithUnitImpl extends DirectiveUriWithRelativeUriImpl
12331233
}
12341234

12351235
/// The synthetic element representing the declaration of the type `dynamic`.
1236-
class DynamicElementImpl extends TypeDefiningElementImpl {
1236+
class DynamicElementImpl extends ElementImpl implements TypeDefiningElement {
12371237
/// The unique instance of this class.
12381238
static final DynamicElementImpl instance = DynamicElementImpl._();
12391239

@@ -8221,7 +8221,7 @@ class MultiplyDefinedFragmentImpl implements MultiplyDefinedFragment {
82218221
}
82228222

82238223
/// The synthetic element representing the declaration of the type `Never`.
8224-
class NeverElementImpl extends TypeDefiningElementImpl {
8224+
class NeverElementImpl extends ElementImpl implements TypeDefiningElement {
82258225
/// The unique instance of this class.
82268226
static final instance = NeverElementImpl._();
82278227

@@ -9617,7 +9617,7 @@ class TopLevelVariableFragmentImpl extends PropertyInducingFragmentImpl
96179617
}
96189618
}
96199619

9620-
class TypeAliasElementImpl extends TypeDefiningElementImpl
9620+
class TypeAliasElementImpl extends ElementImpl
96219621
with
96229622
FragmentedAnnotatableElementMixin<TypeAliasFragmentImpl>,
96239623
FragmentedElementMixin<TypeAliasFragmentImpl>,
@@ -9948,10 +9948,7 @@ class TypeAliasFragmentImpl extends _ExistingFragmentImpl
99489948
}
99499949
}
99509950

9951-
abstract class TypeDefiningElementImpl extends ElementImpl
9952-
implements TypeDefiningElement {}
9953-
9954-
class TypeParameterElementImpl extends TypeDefiningElementImpl
9951+
class TypeParameterElementImpl extends ElementImpl
99559952
with
99569953
FragmentedAnnotatableElementMixin<TypeParameterFragmentImpl>,
99579954
FragmentedElementMixin<TypeParameterFragmentImpl>

0 commit comments

Comments
 (0)