Skip to content

Document highlights on async/await keywords should highlight other occurrences in the same body #22944

@DanielRosenwasser

Description

@DanielRosenwasser
[|async|] function foo() {
  let x = [|await|] 100;
  let y = [|await|] 200;
  return 300
}

I'd expect each document highlight above to contain the others.

I wouldn't think the return keyword would be included here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugA bug in TypeScriptFixedA PR has been merged for this issueGood First IssueWell scoped, documented and has the green lightHelp WantedYou can do this

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions