Files
swift-mirror/test/decl/objc_redeclaration.swift
Doug Gregor 97bd500f5b Break dependency cycle between @objc checking and and "renamed" availability.
The filtering used to allow `@objc` protocols to have both an `async` and a
completion-handler version of the same method was dependent on the
resolution of the "renamed" declaration (for `@available(..., renamed: "")`),
which in tern was dependent on whether the declaration is `@objc`... causing
a cycle. Break the cycle by moving the filtering later.

Fixes rdar://99618060.
2022-09-07 12:55:31 -07:00

3.8 KiB