Skip to content

Error while parsing something like '(Annotation[]::new)' #139

@alexreply

Description

@alexreply

When calling 'javalang.parse.parse' on something like '(Annotation[]::new)', it 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