Skip to content

Go to Definition of try/catch error/stack doesn't return itself #61771

@FMorschel

Description

@FMorschel

Repro:

void foo() {
  try {} catch (error, stackTrace) {
    print('$error, $stackTrace');
  }
}

Asking for Go to Definition on the reference for either does move you to the actual definition but if you are at the definition then it doesn't return itself.

CC @DanTup @srawlins

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestarea-devexpFor issues related to the analysis server, IDE support, linter, `dart fix`, and diagnostic messages.devexp-serverIssues related to some aspect of the analysis servertype-bugIncorrect behavior (everything from a crash to more subtle misbehavior)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions