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

Fix [email protected] type inference compile error #201

Merged
merged 2 commits into from
Feb 22, 2025

Conversation

shimastripe
Copy link
Contributor

WHY

Conflicting arguments to generic parameter 'R' ('Void' vs. 'AsyncStream<TaskQueue.AsyncTask>.Continuation.YieldResult?')

swift-driver version: 1.120.2 Apple Swift version 6.1 (swiftlang-6.1.0.106.4 clang-1700.0.9.2)
Target: arm64-apple-macosx15.0

WHAT

  • Avoid to inference TaskQueue.AsyncTask type in lock.with<T>. This should be inferenced as Void.

@sindresorhus sindresorhus merged commit 6740756 into sindresorhus:main Feb 22, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants