false Sendable
warning if SE-299 (Extending Static Member Lookup in Generic Contexts) is used
#64388
Labels
bug
A deviation from expected or documented behavior. Also: expected but undesirable behavior.
concurrency
Feature: umbrella label for concurrency language features
Description
The following code produces a false positive
Sendable
warningConverting non-sendable function value to '@Sendable () async throws -> ()' may introduce data races
ifFooProtocol.make(_:)
is called though static member lookup instead of on the concrete type:Steps to reproduce
compile the code above
Expected behavior
no warning
Environment
also tested with Swift 5.7.2 (5.7.2.135.5) and it produces the same warning
The text was updated successfully, but these errors were encountered: