@@ -110,7 +110,7 @@ public struct A<T: ~Copyable>: ~Copyable {
110
110
public func foo( ) { }
111
111
112
112
// DEMANGLED: test.A.weird() -> ()
113
- // CHECK: sil [ossa] @$s4test1AV5weirdyyF : $@convention(method) <T> (@guaranteed A<T>) -> () {
113
+ // CHECK: sil [ossa] @$s4test1AV5weirdyyF : $@convention(method) <T> (A<T>) -> () {
114
114
public func weird( ) where T: Copyable { }
115
115
116
116
// DEMANGLED: variable initialization expression of (extension in test):test.A< where A: ~Swift.Copyable>.property : Swift.Int
@@ -155,7 +155,7 @@ extension A where T: ~Copyable {
155
155
func bar( ) { }
156
156
157
157
// DEMANGLED: test.A.weird2() -> ()
158
- // CHECK: sil hidden [ossa] @$s4test1AV6weird2yyF : $@convention(method) <T> (@guaranteed A<T>) -> () {
158
+ // CHECK: sil hidden [ossa] @$s4test1AV6weird2yyF : $@convention(method) <T> (A<T>) -> () {
159
159
func weird2( ) where T: Copyable { }
160
160
}
161
161
@@ -172,11 +172,11 @@ extension A {
172
172
// requirements must be mangled as if there were no inverse generics.
173
173
174
174
// DEMANGLED: test.A.baz() -> ()
175
- // CHECK: sil hidden [ossa] @$s4test1AV3bazyyF : $@convention(method) <T> (@guaranteed A<T>) -> () {
175
+ // CHECK: sil hidden [ossa] @$s4test1AV3bazyyF : $@convention(method) <T> (A<T>) -> () {
176
176
func baz( ) { }
177
177
178
178
// DEMANGLED: test.A.computedAgain.getter : Swift.Int
179
- // CHECK: sil hidden [ossa] @$s4test1AV13computedAgainSivg : $@convention(method) <T> (@guaranteed A<T>) -> Int {
179
+ // CHECK: sil hidden [ossa] @$s4test1AV13computedAgainSivg : $@convention(method) <T> (A<T>) -> Int {
180
180
var computedAgain : Int {
181
181
123
182
182
}
@@ -188,7 +188,7 @@ extension A where T: CopyableProto {
188
188
// the extra constraints and not any inverses.
189
189
190
190
// DEMANGLED: (extension in test):test.A<A where A: test.CopyableProto>.something() -> ()
191
- // CHECK: sil hidden [ossa] @$s4test1AVA2A13CopyableProtoRzlE9somethingyyF : $@convention(method) <T where T : CopyableProto> (@guaranteed A<T>) -> () {
191
+ // CHECK: sil hidden [ossa] @$s4test1AVA2A13CopyableProtoRzlE9somethingyyF : $@convention(method) <T where T : CopyableProto> (A<T>) -> () {
192
192
func something( ) { }
193
193
}
194
194
0 commit comments