-
Notifications
You must be signed in to change notification settings - Fork 352
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
Add support for switch expressions to Resource Leak Checker #5005
Conversation
@@ -0,0 +1,180 @@ | |||
// @below-java17-jdk-skip-test |
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.
These tests are exactly the same as those in TernaryExpressions
, but using switch expressions instead
FYI @Nargeshdb |
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
Sorry @kelloggm your review got dismissed because I just moved a file to a different directory |
…s#5005) The only change required was to update temporary variable mappings, like we now do for ternary expressions. Fixes typetools#4993
The only change required was to update temporary variable mappings, like we now do for ternary expressions.
Fixes #4993