-
Notifications
You must be signed in to change notification settings - Fork 1.1k
CheckUnused examines type of Apply #24465
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
CheckUnused examines type of Apply #24465
Conversation
|
Scala 2 does a tree traversal and considers every tree type. Probably it's time to refactor linting to drop miniphase. Maybe just this check can do a custom traversal; or more ambitiously, lints can be composed but more efficiently than miniphase. Lints by definition do not transform. |
4e93233 to
292fe54
Compare
|
flaky test: and |
292fe54 to
e258c87
Compare
tgodzik
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!
Fixes #24457
Record type of apply.