We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6bb4850 + a16ffa4 commit 0f1a132Copy full SHA for 0f1a132
test/attr/attr_availability_async_rename_toplevel.swift
@@ -2,7 +2,7 @@
2
3
// RUN: %target-typecheck-verify-swift
4
5
-if #available(macOS 12.0, *) {
+if #available(SwiftStdlib 5.5, *) {
6
@available(*, renamed: "process(data:)")
7
func process(data: [Int], completion: @escaping ([Int]) -> Void) { completion(data) }
8
// expected-note@+1{{'process(data:)' declared here}}
0 commit comments