Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create method false-negative trigger #60294

Open
FMorschel opened this issue Mar 10, 2025 · 0 comments
Open

Create method false-negative trigger #60294

FMorschel opened this issue Mar 10, 2025 · 0 comments
Labels
area-devexp Developer experience items (DevTools, IDEs, analysis server, completions, refactorings, ...).

Comments

@FMorschel
Copy link
Contributor

FMorschel commented Mar 10, 2025

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 {}
@lrhn lrhn added the area-devexp Developer experience items (DevTools, IDEs, analysis server, completions, refactorings, ...). label Mar 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-devexp Developer experience items (DevTools, IDEs, analysis server, completions, refactorings, ...).
Projects
None yet
Development

No branches or pull requests

2 participants