Skip to content

Commit 1d8f02e

Browse files
scheglovCommit Queue
authored andcommitted
Remove AugmentableElement and FunctionElementImpl.enclosingElement2
These were left because DartDoc was not yet fully migrated. But it did migrate since then. Change-Id: Iae0ab451ffbd79d9370cf6c3f5da458f50f4fe06 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/423840 Commit-Queue: Konstantin Shcheglov <[email protected]> Reviewed-by: Paul Berry <[email protected]>
1 parent 47d29ca commit 1d8f02e

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

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

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -73,11 +73,6 @@ abstract class AnnotatableElement implements Element2, Annotatable {
7373
abstract class AnnotatableElementImpl
7474
implements ElementImpl2, AnnotatableElement {}
7575

76-
@Deprecated('This is an internal class, do not use it')
77-
// TODO(scheglov): remove it when DartDoc stops using it
78-
// https://github.com/dart-lang/dartdoc/issues/4015
79-
mixin AugmentableElement on ElementImpl2 {}
80-
8176
/// Shared implementation for an augmentable [Fragment].
8277
mixin AugmentableFragment on ElementImpl {
8378
bool get isAugmentation {
@@ -4736,10 +4731,6 @@ sealed class FunctionElementImpl extends ExecutableElementImpl
47364731
@override
47374732
ExecutableElementImpl get declaration => this;
47384733

4739-
@Deprecated('ElementImpl should have never implemented Element2')
4740-
// TODO(scheglov): remove after https://github.com/dart-lang/dartdoc/issues/4017
4741-
Element2? get enclosingElement2 => null;
4742-
47434734
@override
47444735
Fragment? get enclosingFragment {
47454736
switch (enclosingElement3) {

0 commit comments

Comments
 (0)