-
Notifications
You must be signed in to change notification settings - Fork 29
#3057. Add instance check tests #3078
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.
This one needs to be adjusted.
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.
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.
Looks good!
One thing looks slightly inconsistent: We may be testing a complete rule (for example, about E1 is S), in which case a couple of tests should populate both branches. Alternatively, we're strictly aiming at factor, in which case the non-factor branch should be left empty.
|
|
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-02-20 sgrekhov22@gmail.com Fixes dart-lang/co19#3084. Update expected errors positions in member_definition_t10.dart (dart-lang/co19#3085) 2025-02-19 sgrekhov22@gmail.com dart-lang/co19#3057. Add tests for logical and, or and null-check operators (dart-lang/co19#3082) 2025-02-19 sgrekhov22@gmail.com dart-lang/co19#3057. Add more null-check tests (dart-lang/co19#3081) 2025-02-17 sgrekhov22@gmail.com dart-lang/co19#3057. Update operator `==` tests updated and add new ones (dart-lang/co19#3077) 2025-02-17 sgrekhov22@gmail.com dart-lang/co19#3057. Add instance check tests (dart-lang/co19#3078) 2025-02-17 sgrekhov22@gmail.com dart-lang/co19#3057. Add flow analysis tests for throw expression (dart-lang/co19#3076) 2025-02-17 sgrekhov22@gmail.com dart-lang/co19#3057. Add more flow analysis tests for type Never. Part 2. (dart-lang/co19#3071) 2025-02-17 sgrekhov22@gmail.com Fixes dart-lang/co19#3079. Fix numerous typos in Parts with imports tests (dart-lang/co19#3080) 2025-02-17 sgrekhov22@gmail.com dart-lang/co19#3057. Add more flow analysis tests for type Never (dart-lang/co19#3070) Cq-Include-Trybots: luci.dart.try:analyzer-linux-release-try Change-Id: I3d4450e3687fe542737b397aa097d56211534c9b Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/411240 Reviewed-by: Alexander Thomas <athom@google.com> Reviewed-by: Erik Ernst <eernst@google.com> Commit-Queue: Alexander Thomas <athom@google.com>
We have
promotion_via_type_test_A*.darttest that check promotion. So, only missing cases added here.