Skip to content

JavaSyntaxError('') for (Enum::toString) & (Annotation[]::new) #143

@Amala-R

Description

@Amala-R

Example usage,
map.values().
.stream()
.map(Enum::toString)
.toArray(String[]::new);

  1. map(Enum::toString)
    This raises JavaSyntaxError "Expected ';'", the parse is expecting a ';' between the 'Enum' and 'toString'

  2. toArray(String[]::new) -->
    This raises JavaSyntaxError "Expected '.'" , the parse is expecting a '.' between the '[]' and 'new'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions