Skip to content

yield not recognized as a keyword #61

@RMSD

Description

@RMSD

yield does not seem to be highlighted as a keyword (example github):

        String test = switch (eventType) {
            case CREATE -> Test1;
            case UPDATE -> {
                somethingElse = doSomething(input);
                yield Test2;
            }
            case DEACTIVATE -> Test3;
            default -> throw new RuntimeException("Example");
        };

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions