Skip to content

Add yield keyword#62

Open
RMSD wants to merge 1 commit intotextmate:masterfrom
RMSD:master
Open

Add yield keyword#62
RMSD wants to merge 1 commit intotextmate:masterfrom
RMSD:master

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

2 participants