Skip to content

Conversation

@MBoegers
Copy link
Contributor

@MBoegers MBoegers commented Oct 25, 2022

Java 14 introduced with JEP 361: Switch Expressions a new keyword yield.

Resolves #3647

Changes

yield is now a keyword, a new test for switches are added

Checklist

  • Added markup tests, see test/markup/java/switch.expect.txt
  • Updated the changelog at CHANGES.md

@MBoegers MBoegers mentioned this pull request Oct 25, 2022
2 tasks
@joshgoebel joshgoebel merged commit bc88ed5 into highlightjs:main Oct 30, 2022
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.

(java) switch expression keywords

2 participants