-
Notifications
You must be signed in to change notification settings - Fork 29
#3315. Update and move extension types tests to Primary-constructors
#3396
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
eernstg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, with a couple of comments.
One thing I noticed is that some tests are being removed entirely, but from their descriptions I'd expect that about half of some tests are still valid. Perhaps those test cases are already in some other library?
Another thing is a pure nit, of course: Placement of unspecified error ranges. But it is surprising to me if a tool would mark the name of a class/mixin/... in order to report that there is an error in its formal parameter list.
sgrekhov
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Updated. PTAL.
eernstg
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
2025-11-21 sgrekhov22@gmail.com dart-lang/co19#3315. Add tests for the body of the primary constructor (dart-lang/co19#3411) 2025-11-21 sgrekhov22@gmail.com Fixes dart-lang/co19#3409. Add missing expected warnings (dart-lang/co19#3410) 2025-11-20 sgrekhov22@gmail.com dart-lang/co19#3315. Update tests for formal parameters. Part 4. (dart-lang/co19#3407) 2025-11-20 sgrekhov22@gmail.com dart-lang/co19#3315. Update tests for formal parameters. Part 5. (dart-lang/co19#3408) 2025-11-20 sgrekhov22@gmail.com dart-lang/co19#3315. Update tests for formal parameters. Part 2. (dart-lang/co19#3405) 2025-11-20 sgrekhov22@gmail.com dart-lang/co19#3315. Update tests for formal parameters. Part 3. (dart-lang/co19#3406) 2025-11-19 sgrekhov22@gmail.com dart-lang/co19#3315. Move primary constructors files to `Primary-constructors` (dart-lang/co19#3404) 2025-11-19 sgrekhov22@gmail.com dart-lang/co19#3315. Move tests for formal parameters to `primary-constructors` (dart-lang/co19#3403) 2025-11-19 sgrekhov22@gmail.com dart-lang/co19#3315. Rename experimental flag to `primary-constructors` (dart-lang/co19#3402) 2025-11-19 sgrekhov22@gmail.com dart-lang/co19#3315. Update VM tests for primary constructors (dart-lang/co19#3401) 2025-11-18 sgrekhov22@gmail.com dart-lang/co19#3315. Move/add mixins and generative constructors tests to `Primary-constructors`. (dart-lang/co19#3394) 2025-11-18 sgrekhov22@gmail.com dart-lang/co19#3315. Move name conflicts tests for constructors to `Primary-constructors` (dart-lang/co19#3397) 2025-11-18 sgrekhov22@gmail.com dart-lang/co19#2694. Replace `unspecified` by real lint name (dart-lang/co19#3400) 2025-11-18 sgrekhov22@gmail.com dart-lang/co19#2559. Update `augmenting_constructors_A01_*` tests (dart-lang/co19#3388) 2025-11-17 sgrekhov22@gmail.com dart-lang/co19#3315. Move parameters scope tests to `Primary-constructors` (dart-lang/co19#3398) 2025-11-17 sgrekhov22@gmail.com dart-lang/co19#2694. Remove obsolete `null-aware-elements` experimental flag (dart-lang/co19#3399) 2025-11-14 sgrekhov22@gmail.com dart-lang/co19#3315. Update and move extension types tests to `Primary-constructors` (dart-lang/co19#3396) 2025-11-14 sgrekhov22@gmail.com dart-lang/co19#3315. Add test checking the special rule for factory constructors (dart-lang/co19#3395) 2025-11-14 sgrekhov22@gmail.com dart-lang/co19#3315. Add tests for `new()` and `factory()` constructors (dart-lang/co19#3392) R=athom@google.com, eernst@google.com Cq-Include-Trybots: luci.dart.try:analyzer-linux-release-try,dart2js-minified-linux-d8-try Change-Id: I5b716643d82114746b70f1553383280eb30b4327 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/463582 Auto-Submit: Sergey Grekhov <sgrekhov22@gmail.com> Commit-Queue: Alexander Thomas <athom@google.com> Reviewed-by: Erik Ernst <eernst@google.com> Reviewed-by: Alexander Thomas <athom@google.com>
No description provided.