File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -3468,7 +3468,7 @@ package:analyzer/dart/element/element.dart:
34683468 imports (getter: List<LibraryImportElement>)
34693469 name (getter: String)
34703470 scope (getter: Scope)
3471- PromotableElement (class extends Object implements LocalElement, VariableElement):
3471+ PromotableElement (class extends Object implements LocalElement, VariableElement, deprecated ):
34723472 new (constructor: PromotableElement Function())
34733473 name (getter: String)
34743474 PropertyAccessorElement (class extends Object implements ExecutableElement, deprecated):
Original file line number Diff line number Diff line change @@ -2041,6 +2041,7 @@ abstract class PrefixElement implements _ExistingElement {
20412041/// variable or a parameter.
20422042///
20432043/// Clients may not extend, implement or mix-in this class.
2044+ @Deprecated ('Use PromotableElement2 instead' )
20442045abstract class PromotableElement implements LocalElement , VariableElement {
20452046 // Promotable elements are guaranteed to have a name.
20462047 @override
@@ -2103,10 +2104,8 @@ abstract class PropertyAccessorElement implements ExecutableElement {
21032104/// * Every explicit variable is represented by a non-synthetic
21042105/// [PropertyInducingElement] .
21052106/// * Every explicit variable induces a getter and possibly a setter, both of
2106- // ignore:deprecated_member_use_from_same_package
21072107/// which are represented by synthetic [PropertyAccessorElement] s.
21082108/// * Every explicit getter or setter is represented by a non-synthetic
2109- // ignore:deprecated_member_use_from_same_package
21102109/// [PropertyAccessorElement] .
21112110/// * Every explicit getter or setter (or pair thereof if they have the same
21122111/// name) induces a variable that is represented by a synthetic
You can’t perform that action at this time.
0 commit comments