File tree Expand file tree Collapse file tree 4 files changed +31
-1
lines changed Expand file tree Collapse file tree 4 files changed +31
-1
lines changed Original file line number Diff line number Diff line change
1
+ ## 5.11.1
2
+ * Restore previously published ` finalKeyword ` , ` interfaceKeyword ` and
3
+ ` sealedKeyword ` of ` MixinElement ` . We added them preliminary while
4
+ working on the class modifiers feature, but eventually decided to remove.
5
+ See https://github.com/dart-lang/sdk/issues/52159 for details.
6
+
1
7
## 5.11.0
2
8
* Removed ` @experimental ` from AST nodes and elements for records and patterns.
3
9
* Deprecated ` IfStatement.condition ` , use ` expression ` instead.
Original file line number Diff line number Diff line change @@ -3815,11 +3815,19 @@ abstract class MixinDeclaration implements MixinOrAugmentationDeclaration {
3815
3815
@override
3816
3816
MixinElement ? get declaredElement2;
3817
3817
3818
+ /// Return the 'final' keyword, or `null` if the keyword was absent.
3819
+ @Deprecated ('This feature was removed from the language' )
3820
+ Token ? get finalKeyword;
3821
+
3818
3822
/// Returns the implements clause for the class/mixin, or `null` if the
3819
3823
/// class/mixin does not implement any interfaces.
3820
3824
@override
3821
3825
ImplementsClause ? get implementsClause;
3822
3826
3827
+ /// Return the 'interface' keyword, or `null` if the keyword was absent.
3828
+ @Deprecated ('This feature was removed from the language' )
3829
+ Token ? get interfaceKeyword;
3830
+
3823
3831
/// Returns the left curly bracket.
3824
3832
@override
3825
3833
Token get leftBracket;
@@ -3832,6 +3840,10 @@ abstract class MixinDeclaration implements MixinOrAugmentationDeclaration {
3832
3840
@override
3833
3841
Token get rightBracket;
3834
3842
3843
+ /// Return the 'sealed' keyword, or `null` if the keyword was absent.
3844
+ @Deprecated ('This feature was removed from the language' )
3845
+ Token ? get sealedKeyword;
3846
+
3835
3847
/// Returns the type parameters for the class/mixin, or `null` if the
3836
3848
/// class/mixin does not have any type parameters.
3837
3849
@override
Original file line number Diff line number Diff line change @@ -9167,6 +9167,10 @@ class MixinDeclarationImpl extends NamedCompilationUnitMemberImpl
9167
9167
@override
9168
9168
Token get endToken => rightBracket;
9169
9169
9170
+ @Deprecated ('This feature was removed from the language' )
9171
+ @override
9172
+ Token ? get finalKeyword => null ;
9173
+
9170
9174
@override
9171
9175
Token get firstTokenAfterCommentAndMetadata {
9172
9176
return baseKeyword ?? mixinKeyword;
@@ -9179,6 +9183,10 @@ class MixinDeclarationImpl extends NamedCompilationUnitMemberImpl
9179
9183
_implementsClause = _becomeParentOf (implementsClause);
9180
9184
}
9181
9185
9186
+ @Deprecated ('This feature was removed from the language' )
9187
+ @override
9188
+ Token ? get interfaceKeyword => null ;
9189
+
9182
9190
@override
9183
9191
NodeListImpl <ClassMemberImpl > get members => _members;
9184
9192
@@ -9189,6 +9197,10 @@ class MixinDeclarationImpl extends NamedCompilationUnitMemberImpl
9189
9197
_onClause = _becomeParentOf (onClause);
9190
9198
}
9191
9199
9200
+ @Deprecated ('This feature was removed from the language' )
9201
+ @override
9202
+ Token ? get sealedKeyword => null ;
9203
+
9192
9204
@override
9193
9205
TypeParameterListImpl ? get typeParameters => _typeParameters;
9194
9206
Original file line number Diff line number Diff line change 1
1
name : analyzer
2
- version : 5.11.0
2
+ version : 5.11.1
3
3
description : >-
4
4
This package provides a library that performs static analysis of Dart code.
5
5
repository : https://github.com/dart-lang/sdk/tree/main/pkg/analyzer
You can’t perform that action at this time.
0 commit comments