@@ -184,10 +184,10 @@ bb0:
184
184
init_existential_metatype undef : $@thick C.Type, $@thick P.Type
185
185
// CHECK: open_existential_metatype undef : $@thick P.Type to $@thick (@opened("01234567-89AB-CDEF-0123-000000000002") P).Type
186
186
open_existential_metatype undef : $@thick P.Type to $@thick (@opened("01234567-89AB-CDEF-0123-000000000002") P).Type
187
- // CHECK: open_existential_box undef : $ErrorType to $*@opened("01234567-89AB-CDEF-0123-000000000003") ErrorType
188
- open_existential_box undef : $ErrorType to $*@opened("01234567-89AB-CDEF-0123-000000000003") ErrorType
189
- // CHECK: dealloc_existential_box undef : $ErrorType , $()
190
- dealloc_existential_box undef : $ErrorType , $()
187
+ // CHECK: open_existential_box undef : $ErrorProtocol to $*@opened("01234567-89AB-CDEF-0123-000000000003") ErrorProtocol
188
+ open_existential_box undef : $ErrorProtocol to $*@opened("01234567-89AB-CDEF-0123-000000000003") ErrorProtocol
189
+ // CHECK: dealloc_existential_box undef : $ErrorProtocol , $()
190
+ dealloc_existential_box undef : $ErrorProtocol , $()
191
191
192
192
// Blocks
193
193
@@ -363,11 +363,11 @@ bb2:
363
363
364
364
sil @try_apply_test : $() -> () {
365
365
bb0:
366
- // CHECK: try_apply undef(undef) : $@convention(thin) (()) -> @error ErrorType , normal bb1, error bb2
367
- try_apply undef(undef) : $@convention(thin) (()) -> @error ErrorType , normal bb1, error bb2
366
+ // CHECK: try_apply undef(undef) : $@convention(thin) (()) -> @error ErrorProtocol , normal bb1, error bb2
367
+ try_apply undef(undef) : $@convention(thin) (()) -> @error ErrorProtocol , normal bb1, error bb2
368
368
bb1(%1 : $()):
369
369
br bb3
370
- bb2(%2 : $ErrorType ):
370
+ bb2(%2 : $ErrorProtocol ):
371
371
br bb3
372
372
bb3:
373
373
return undef : $()
0 commit comments