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

fix: emit warning on MethodHandles.constant(void.class, ...) #32

Merged
merged 1 commit into from
Jun 26, 2023

Conversation

SirYwell
Copy link
Owner

Previously, a warning was generated for the second argument as it isn't type-compatible with void, but obviously it makes more sense to emit a warning for the disallowed usage of void.class as first parameter.

@SirYwell SirYwell merged commit 3fc5a7c into main Jun 26, 2023
2 checks passed
@SirYwell SirYwell deleted the fix/void-in-constant branch June 26, 2023 08:48
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