-
Notifications
You must be signed in to change notification settings - Fork 49
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
Fully adopt Sendable
#151
Fully adopt Sendable
#151
Conversation
let banner: SSHServerConfiguration.UserAuthBanner? | ||
if case .server(let config) = role { | ||
banner = config.banner | ||
} else { | ||
banner = nil | ||
} | ||
|
||
return .possibleFutureMessage(future.map { Self.transform($0, banner: banner) }) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixes a warning with strict concurrency checking enabled
@swift-server-bot test this please |
@swift-server-bot test this please |
Allocation counters regressions are unrelated to this PR: |
Allocation have regressed because I marked the static function However, we can also just form a closure manually and don't annotate This bug appears to be already fixed in the latest swift nightly. |
No description provided.