File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -3507,7 +3507,7 @@ package:analyzer/dart/element/element.dart:
35073507 isAugmentation (getter: bool)
35083508 name (getter: String)
35093509 instantiate (method: DartType Function({required NullabilitySuffix nullabilitySuffix, required List<DartType> typeArguments}))
3510- TypeDefiningElement (class extends Object implements Element):
3510+ TypeDefiningElement (class extends Object implements Element, deprecated ):
35113511 new (constructor: TypeDefiningElement Function())
35123512 TypeParameterElement (class extends Object implements TypeDefiningElement, deprecated):
35133513 new (constructor: TypeParameterElement Function())
Original file line number Diff line number Diff line change @@ -2235,6 +2235,7 @@ abstract class TypeAliasElement
22352235/// An element that defines a type.
22362236///
22372237/// Clients may not extend, implement or mix-in this class.
2238+ @Deprecated ('Use TypeDefiningElement2 instead' )
22382239abstract class TypeDefiningElement implements Element {}
22392240
22402241/// A type parameter.
Original file line number Diff line number Diff line change @@ -2037,7 +2037,10 @@ class DirectiveUriWithUnitImpl extends DirectiveUriWithRelativeUriImpl
20372037
20382038/// The synthetic element representing the declaration of the type `dynamic` .
20392039class DynamicElementImpl extends ElementImpl
2040- implements TypeDefiningElement , TypeDefiningFragment {
2040+ implements
2041+ // ignore:deprecated_member_use_from_same_package
2042+ TypeDefiningElement ,
2043+ TypeDefiningFragment {
20412044 /// The unique instance of this class.
20422045 static final DynamicElementImpl instance = DynamicElementImpl ._();
20432046
@@ -9157,7 +9160,10 @@ class MultiplyDefinedFragmentImpl implements MultiplyDefinedFragment {
91579160
91589161/// The synthetic element representing the declaration of the type `Never` .
91599162class NeverElementImpl extends ElementImpl
9160- implements TypeDefiningElement , TypeDefiningFragment {
9163+ implements
9164+ // ignore:deprecated_member_use_from_same_package
9165+ TypeDefiningElement ,
9166+ TypeDefiningFragment {
91619167 /// The unique instance of this class.
91629168 static final instance = NeverElementImpl ._();
91639169
You can’t perform that action at this time.
0 commit comments