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 1119b91 commit acd550dCopy full SHA for acd550d
test/Interpreter/dynamic_self.swift
@@ -46,10 +46,6 @@ class C : P, CP {
46
print("Allocating C")
47
}
48
49
- deinit {
50
- print("Destroying C")
51
- }
52
-
53
func f() -> Self {
54
print("C.f()")
55
return self
@@ -80,7 +76,6 @@ print("C() as non-class existential")
80
76
// CHECK-NEXT: Between calls
81
77
// CHECK-NEXT: C.g()
82
78
// CHECK-NEXT: After second call
83
-// CHECK-NEXT: Destroying C
84
79
callDynamicSelfExistential(C())
85
86
// CHECK-NEXT: C() as class existential
@@ -91,7 +86,6 @@ print("C() as class existential")
91
92
87
93
88
94
95
89
callDynamicSelfClassExistential(C())
96
90
97
print("-------------------------------")
0 commit comments