Skip to content
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

Improve handling of raw types #4902

Merged
merged 1 commit into from
Mar 14, 2025
Merged

Improve handling of raw types #4902

merged 1 commit into from
Mar 14, 2025

Conversation

copybara-service[bot]
Copy link
Contributor

Improve handling of raw types

  • Include the enclosing TreePath in the paths returned by findAllCasts, targetType walks up to find the enclosing method for returns
  • Check if the instanceof type or the cast type is already non-raw, to avoid adding an extra <?>

* Include the enclosing `TreePath` in the paths returned by `findAllCasts`, `targetType` walks up to find the enclosing method for `return`s
* Check if the instanceof type or the cast type is already non-raw, to avoid adding an extra `<?>`

PiperOrigin-RevId: 737027442
@copybara-service copybara-service bot merged commit f635aa8 into master Mar 14, 2025
@copybara-service copybara-service bot deleted the test_737019837 branch March 14, 2025 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant