-
Notifications
You must be signed in to change notification settings - Fork 29
#3057. Add more flow analysis tests for type Never. Part 2. #3071
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! Commented on a few typos.
I also commented on a couple of cases where I'm surprised that the flow analysis would be able to reach a particular conclusion. If it does work, and the spec actually says it should, then that's fine. If it doesn't work, and the spec agrees, then the expectation should be adjusted.
Otherwise we may need to revisit the spec.
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.
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>
No description provided.