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

No completion results after in guard optional unwrapping inside trailing closure of overloaded function #71078

Open
ahoppen opened this issue Jan 23, 2024 · 0 comments
Labels
code completion Area → source tooling: code completion found by stress tester Flag: An issue found by the SourceKit stress tester

Comments

@ahoppen
Copy link
Contributor

ahoppen commented Jan 23, 2024

The following test case only produces keyword results.

func run(execute workItem: Int) {}
func run(execute work: () -> Void) {}

func test() {
  run {
    guard let data = #^COMPLETE^# else {
      return
    }
  }
}
@ahoppen ahoppen added code completion Area → source tooling: code completion found by stress tester Flag: An issue found by the SourceKit stress tester labels Jan 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code completion Area → source tooling: code completion found by stress tester Flag: An issue found by the SourceKit stress tester
Projects
None yet
Development

No branches or pull requests

1 participant