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.
1 parent 5e1e3a1 commit 35aa75aCopy full SHA for 35aa75a
test/Casting/Casts.swift
@@ -522,12 +522,7 @@ class ClassInt: Equatable, Hashable {
522
static func == (lhs: ClassInt, rhs: ClassInt) -> Bool {return true}
523
func hash(into hasher: inout Hasher) {}
524
}
525
-CastsTests.test("AnyHashable(Class) -> Obj-C -> Class")
526
-.skip(.custom({
527
- !_isDebugAssertConfiguration()
528
- },
529
- reason: "Cast optimizer breaks this test"))
530
-.code {
+CastsTests.test("AnyHashable(Class) -> Obj-C -> Class") {
531
let a = ClassInt()
532
let b = runtimeCast(a, to: AnyHashable.self)!
533
let c = _bridgeAnythingToObjectiveC(b)
0 commit comments