We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Constraints/dynamic_lookup.swift
1 parent a049fc0 commit 6080a40Copy full SHA for 6080a40
test/Constraints/dynamic_lookup.swift
@@ -5,9 +5,6 @@
5
6
// REQUIRES: objc_interop
7
8
-// FIXME(rdar://64425653): We should re-enable this test for other platforms.
9
-// REQUIRES: OS=macosx
10
-
11
import Foundation
12
import PrivateObjC
13
@@ -342,8 +339,10 @@ func testOverloadedWithUnavailable(ao: AnyObject) {
342
339
}
343
340
344
341
func dynamicInitCrash(ao: AnyObject.Type) {
+ // This is going to produce difference results on macOS/iOS due to
+ // different availability of `init(...)` overloads attached to `AnyObject`
345
let sdk = ao.init(blahblah: ())
346
- // expected-error@-1 {{no exact matches in call to initializer}}
+ // expected-error@-1 {{}}
347
348
349
// Test that we correctly diagnose ambiguity for different typed members available
0 commit comments