Attention needed from Fedor Shcheglov
Johnni Winther voted and added 1 comment![Open in Gerrit]()
Votes added by Johnni Winther
1 comment
File pkg/analyzer/test/src/summary/elements/class_test.dart
Line 13957, Patchset 8 (Latest):class A {
final int? n1;
A({n1});
augment A({this.n1});
}
''');Johnni Winther .
unresolvedAdd a test where the type of the type is declared on the first fragment, like
class A {
final int? n1;
A({num? n1});
augment A({this.n1});
}
to verify that the parameter comes from the first fragment (`num?` in this case) and not just the omission of inference (which might yield `dynamic`).
Open in GerritRelated details
Attention is currently required from:
Gerrit-MessageType: comment
Gerrit-Project: sdk
Gerrit-Branch: main
Gerrit-Change-Id: Idebb6155b1df5cb8329e33a02e5ce8522c4fe406
Gerrit-Change-Number: 515440
Gerrit-PatchSet: 8
Gerrit-Comment-Date: Tue, 23 Jun 2026 10:20:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes