google-java-format
google-java-format copied to clipboard
Can't format record patterns in switch
The formatter can't format the following code, it fails with parsing error.
switch (option) {
case Some(var a) -> a;
case None() -> "None";
};