Skip to content

arrow function keywords async and await crash when hover over #1836

@pedro757

Description

@pedro757

Stack trace

Don't know where to find this

Steps to reproduce

  1. Copy the code below in a file and hover over async or await keywords
async () => {
  await Promise.resolve(true);
}

Additional Context

It doesn't panic with non-arrow-function such as, it works as expected, the problem happens only with async arrow functions

async function() {
  await Promise.resolve(true);
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    CrashDomain: EditorRelated to the LSP server, editor experience

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions