Skip to content

"Go to Type Definition" on closure parameters not working #56844

@FMorschel

Description

@FMorschel

Take the following code:

void foo(List<int> list) {
  list.map((e) => e);
}

If you ask for "Go to Type Declaration" on the last e, you get redirected to the declaration for int, but if you go to the first, you get a message telling you "No type definition found for 'e'":

image

I volunteer to fix this.


CC: @DanTup

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestlegacy-area-analyzerUse area-devexp instead.type-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