Skip to content

Commit 206e10a

Browse files
scheglovCommit Queue
authored andcommitted
Elements. Remove useless constructor comments.
Change-Id: If374b60b601ed10c5dd414224b35517360113b73 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/442707 Reviewed-by: Johnni Winther <[email protected]> Commit-Queue: Konstantin Shcheglov <[email protected]>
1 parent 013c134 commit 206e10a

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

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

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,6 @@ typedef ParameterMember = SubstitutedFormalParameterElementImpl;
3333
class SubstitutedConstructorElementImpl extends SubstitutedExecutableElementImpl
3434
with InternalConstructorElement
3535
implements ConstructorElement {
36-
/// Initialize a newly created element to represent a constructor, based on
37-
/// the [declaration], and applied [substitution].
3836
SubstitutedConstructorElementImpl({
3937
required ConstructorElementImpl super.baseElement,
4038
required super.substitution,
@@ -181,8 +179,6 @@ abstract class SubstitutedElementImpl implements Element {
181179
/// The substitution for type parameters referenced in the base element.
182180
final MapSubstitution substitution;
183181

184-
/// Initialize a newly created element to represent a member, based on the
185-
/// [declaration], and applied [substitution].
186182
SubstitutedElementImpl({
187183
required this.baseElement,
188184
required this.substitution,
@@ -290,12 +286,8 @@ abstract class SubstitutedExecutableElementImpl extends SubstitutedElementImpl
290286

291287
FunctionTypeImpl? _type;
292288

293-
/// Initialize a newly created element to represent a callable element (like a
294-
/// method or function or property), based on the [declaration], and applied
295-
/// [substitution].
296-
///
297289
/// The [typeParameters] are fresh, and [substitution] is already applied to
298-
/// their bounds. The [substitution] includes replacing [declaration] type
290+
/// their bounds. The [substitution] includes replacing [baseElement] type
299291
/// parameters with the provided fresh [typeParameters].
300292
SubstitutedExecutableElementImpl({
301293
required ExecutableElementImpl super.baseElement,
@@ -503,8 +495,6 @@ abstract class SubstitutedExecutableElementImpl extends SubstitutedElementImpl
503495
/// parameters are known.
504496
class SubstitutedFieldElementImpl extends SubstitutedVariableElementImpl
505497
with InternalPropertyInducingElement, InternalFieldElement {
506-
/// Initialize a newly created element to represent a field, based on the
507-
/// [declaration], with applied [substitution].
508498
SubstitutedFieldElementImpl({
509499
required FieldElementImpl super.baseElement,
510500
required super.substitution,
@@ -732,8 +722,6 @@ class SubstitutedFormalParameterElementImpl
732722
);
733723
}
734724

735-
/// Initialize a newly created element to represent a parameter, based on the
736-
/// [declaration], with applied [substitution].
737725
SubstitutedFormalParameterElementImpl._({
738726
required FormalParameterElementImpl super.baseElement,
739727
required super.substitution,
@@ -1296,8 +1284,6 @@ abstract class SubstitutedVariableElementImpl extends SubstitutedElementImpl
12961284
with InternalVariableElement {
12971285
TypeImpl? _type;
12981286

1299-
/// Initialize a newly created element to represent a variable, based on the
1300-
/// [declaration], with applied [substitution].
13011287
SubstitutedVariableElementImpl({
13021288
required VariableElementImpl super.baseElement,
13031289
required super.substitution,

0 commit comments

Comments
 (0)