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

Update Java Language to Java 19 #3641

Closed
wants to merge 1 commit into from
Closed

Conversation

MBoegers
Copy link
Contributor

@MBoegers MBoegers commented Oct 20, 2022

Changes

add missing Java 19 Keywords

Checklist

  • Added markup tests
  • Updated the changelog at CHANGES.md

add missing Java 19 Keywords
* non-sealed as counterpart to sealed
* when for when clauses in pattern matching with switch expression
* yield for switch expressions
@joshgoebel
Copy link
Member

Did you test that non-sealed actually works? I'm not sure - is in the default $pattern... if not you'll need to add a keyword match pattern that allows for x-x style keywords.

@Hirse Hirse mentioned this pull request Oct 22, 2022
2 tasks
@MBoegers
Copy link
Contributor Author

MBoegers commented Oct 23, 2022 via email

@MBoegers
Copy link
Contributor Author

Did you test that non-sealed actually works? I'm not sure - is in the default $pattern... if not you'll need to add a keyword match pattern that allows for x-x style keywords.

TBH non-sealed already was part of hightlight.js prio. I'll did a in depth analysis (see linked Tickets). Should we close ad forget this one and start with clear new PRs?

@joshgoebel
Copy link
Member

Should we close ad forget this one and start with clear new PRs?

Whatever is easiest for you...

@MBoegers MBoegers closed this Oct 25, 2022
@MBoegers
Copy link
Contributor Author

is fixed in 2 new clean PRs. see #3649 #3650

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.

2 participants