Skip to content

Create method false-negative trigger #60294

Closed
@FMorschel

Description

@FMorschel

Repro:

void f() async {
  int myVar = await g(C.foo); // Try activating it at `foo`
}

Future<T> g<T>(Future<T> Function() foo) => foo();

class C {}

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-quick-fixIssues with analysis server (quick) fixes

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions