mirror of
https://github.com/apple/swift.git
synced 2026-10-28 21:15:56 +01:00
A completion-handler method carrying an availability attribute was skipped when wiring the rename attribute that points to its async alternative, so an async @objc @implementation member could not match its completion-handler requirement and no ObjC thunk was generated as a result. This narrows the guard to methods that already carry a rename, checking their availability attributes syntactically. Resolving the async alternative here would trigger name lookup and re-enter member loading while the nominal is still importing, corrupting its member lookup table.