Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix 'yield outside of switch expression'
- Loading branch information
Alexander Sinuskin
authored and
Alexander Sinuskin
committed
Jan 25, 2024
1 parent
7c78f66
commit d1651ba
Showing
2 changed files
with
10 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
package nonimmutables; | ||
|
||
import org.immutables.value.Value; | ||
|
||
@Value.Immutable | ||
public interface YieldField { | ||
|
||
int getYield(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters