-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
Should support pattern matching guards #535
Comments
Thank you for reporting this @vincentditlevinz ! We indeed did not introduce this preview feature yet, but it should be feasible without breaking the existing ! |
We are having the same issue. Is there any documentation which states that prettier-java is ready for Java 17+ ? We are having other issues with records as well. |
Hello @vincentditlevinz and @fischermatte ! The #559 should fix the issue ! @fischermatte could you create another issue for the records issue you have ? It would be very helpful in order to provide some fixes ! |
@clementdessoude thx a lot! I will try v2 and let you know if there is still something breaking. Update: I checked it and it looks like there are no troubles with records when running |
Prettier-Java 1.6.1
Input:
Output:
Expected behavior:
Should support pattern matching guards
The text was updated successfully, but these errors were encountered: