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

Allow Java Enums in "case of" branches #7607

Merged
merged 8 commits into from
Aug 21, 2023

Conversation

JaroslavTulach
Copy link
Member

@JaroslavTulach JaroslavTulach commented Aug 18, 2023

Pull Request Description

Fixes #7551 by looking up static symbols of a JavaClass polyglot object.

Checklist

Please ensure that the following checklist has been satisfied before submitting the PR:

  • The documentation has been updated, if necessary.
  • All code follows the
    Scala,
  • All code has been tested:
    • Unit tests have been written where possible.

@JaroslavTulach JaroslavTulach force-pushed the wip/jtulach/Polyglot_Fields_7551 branch from c0a4944 to 9ade20e Compare August 18, 2023 08:31
@JaroslavTulach JaroslavTulach changed the title Wip/jtulach/polyglot fields Allow Java Enums in case of expression Aug 18, 2023
@JaroslavTulach JaroslavTulach changed the title Allow Java Enums in case of expression Allow Java Enums in case of branches Aug 18, 2023
@JaroslavTulach JaroslavTulach added the CI: Ready to merge This PR is eligible for automatic merge label Aug 21, 2023
@JaroslavTulach JaroslavTulach changed the title Allow Java Enums in case of branches Allow Java Enums in "case of" branches Aug 21, 2023
@mergify mergify bot merged commit a2946d2 into develop Aug 21, 2023
25 checks passed
@mergify mergify bot deleted the wip/jtulach/Polyglot_Fields_7551 branch August 21, 2023 15:12
@radeusgd radeusgd mentioned this pull request Jul 23, 2024
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI: Ready to merge This PR is eligible for automatic merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Java Enums cannot be used in case branches (but can in if statements)
7 participants