-
Notifications
You must be signed in to change notification settings - Fork 29
#3057. Add promotion tests for for-in loop #3154
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! Just one tiny inconsistency: I think a couple of tests would be more strictly consistent if a couple of promotion testing expressions are moved into a collection literal.
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.
Just being stubborn. ;-)
|
No problem! :) Updated. |
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.
Thanks! LGTM
2025-05-01 49699333+dependabot[bot]@users.noreply.github.com Bump actions/setup-java from 4.7.0 to 4.7.1 in the github-actions group (dart-lang/co19#3166) 2025-04-30 sgrekhov22@gmail.com dart-lang/co19#3057. Add type of interest tests. (dart-lang/co19#3161) 2025-04-30 sgrekhov22@gmail.com dart-lang/co19#3057. Update promotion via assignment tests (dart-lang/co19#3160) 2025-04-30 sgrekhov22@gmail.com dart-lang/co19#3057. Add promotion tests for `if` and `break` statements (dart-lang/co19#3156) 2025-04-29 sgrekhov22@gmail.com dart-lang/co19#3057. Add promotion tests for for-in loop (dart-lang/co19#3154) 2025-04-29 sgrekhov22@gmail.com Fixes dart-lang/co19#3151. Update constants expression tests. (dart-lang/co19#3157) 2025-04-29 sgrekhov22@gmail.com dart-lang/co19#3057. Remove obsolete `promotion_via_initialization_*` tests (dart-lang/co19#3163) 2025-04-29 sgrekhov22@gmail.com dart-lang/co19#3057. Add promotion tests for do loop and continue statement (dart-lang/co19#3155) 2025-04-29 sgrekhov22@gmail.com dart-lang/co19#3057. Fix typos in descriptions in `promotion_via_type_test_*` (dart-lang/co19#3164) Cq-Include-Trybots: luci.dart.try:analyzer-linux-release-try Change-Id: Icf2ea16079c6998c7c8eca502c7c6f08f816b445 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/426060 Reviewed-by: Erik Ernst <eernst@google.com> Reviewed-by: Alexander Thomas <athom@google.com> Commit-Queue: Alexander Thomas <athom@google.com>
No description provided.