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

Add yield keyword #62

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add yield keyword #62

wants to merge 1 commit into from

Conversation

RMSD
Copy link

@RMSD RMSD commented Aug 12, 2021

Fixes #61 (Has examples of the issue).

Adding the java 13 yield keyword. Details of the keyword: https://docs.oracle.com/en/java/javase/13/language/switch-expressions.html

As it's a break statement that does return a value in a switch, I've put it in that block.

Adds the java 13 yield keyword
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.

yield not recognized as a keyword
1 participant