Skip to content

Commit 97f1252

Browse files
srawlinsCommit Queue
authored andcommitted
analyzer: Remove untrue comment text on ConstructorDeclaration.returnType
Fixes #60563 Change-Id: I6fcafff337d7b4c0252061f6695246769e0881b2 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/423168 Reviewed-by: Paul Berry <[email protected]> Commit-Queue: Paul Berry <[email protected]> Auto-Submit: Samuel Rawlins <[email protected]>
1 parent 2936dca commit 97f1252

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

pkg/analyzer/lib/src/dart/ast/ast.dart

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3971,7 +3971,7 @@ final class ConstantPatternImpl extends DartPatternImpl
39713971
/// 'external'? constructorName formalParameterList initializerList?
39723972
/// | 'external'? 'factory' factoryName formalParameterList
39733973
/// initializerList?
3974-
/// | 'external'? 'const' constructorName formalParameterList
3974+
/// | 'external'? 'const' constructorName formalParameterList
39753975
/// initializerList?
39763976
///
39773977
/// constructorName ::=
@@ -4024,10 +4024,6 @@ abstract final class ConstructorDeclaration implements ClassMember {
40244024
ConstructorName? get redirectedConstructor;
40254025

40264026
/// The type of object being created.
4027-
///
4028-
/// This can be different than the type in which the constructor is being
4029-
/// declared if the constructor is the implementation of a factory
4030-
/// constructor.
40314027
Identifier get returnType;
40324028

40334029
/// The token for the separator (colon or equals) before the initializer list

0 commit comments

Comments
 (0)