Skip to content

Commit 1b22cd0

Browse files
scheglovCommit Queue
authored andcommitted
Elements. Stop implementing V1 TypeDefiningElement in DynamicElementImpl and NeverElementImpl.
They remain TypeDefiningFragment(s). Change-Id: I1c520d1162ab5e0b1cd2df24da27ac6ee3f05e80 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/423303 Commit-Queue: Konstantin Shcheglov <[email protected]> Reviewed-by: Brian Wilkerson <[email protected]>
1 parent 84be073 commit 1b22cd0

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

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

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1948,11 +1948,7 @@ class DirectiveUriWithUnitImpl extends DirectiveUriWithRelativeUriImpl
19481948
}
19491949

19501950
/// The synthetic element representing the declaration of the type `dynamic`.
1951-
class DynamicElementImpl extends ElementImpl
1952-
implements
1953-
// ignore:deprecated_member_use_from_same_package,analyzer_use_new_elements
1954-
TypeDefiningElement,
1955-
TypeDefiningFragment {
1951+
class DynamicElementImpl extends ElementImpl implements TypeDefiningFragment {
19561952
/// The unique instance of this class.
19571953
static final DynamicElementImpl instance = DynamicElementImpl._();
19581954

@@ -8753,11 +8749,7 @@ class MultiplyDefinedFragmentImpl implements MultiplyDefinedFragment {
87538749
}
87548750

87558751
/// The synthetic element representing the declaration of the type `Never`.
8756-
class NeverElementImpl extends ElementImpl
8757-
implements
8758-
// ignore:deprecated_member_use_from_same_package,analyzer_use_new_elements
8759-
TypeDefiningElement,
8760-
TypeDefiningFragment {
8752+
class NeverElementImpl extends ElementImpl implements TypeDefiningFragment {
87618753
/// The unique instance of this class.
87628754
static final instance = NeverElementImpl._();
87638755

0 commit comments

Comments
 (0)