mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[SE-0112] Rename ErrorProtocol to Error.
This is bullet (5) of the proposed solution in SE-0112, and the last major piece to be implemented.
This commit is contained in:
@@ -112,8 +112,8 @@ do {
|
||||
try throws1()
|
||||
_ = try throws2(1)
|
||||
} catch _ {}
|
||||
// SIL: sil @_TF8def_func7throws1FzT_T_ : $@convention(thin) () -> @error ErrorProtocol
|
||||
// SIL: sil @_TF8def_func7throws2{{.*}} : $@convention(thin) <τ_0_0> (@in τ_0_0) -> (@out τ_0_0, @error ErrorProtocol)
|
||||
// SIL: sil @_TF8def_func7throws1FzT_T_ : $@convention(thin) () -> @error Error
|
||||
// SIL: sil @_TF8def_func7throws2{{.*}} : $@convention(thin) <τ_0_0> (@in τ_0_0) -> (@out τ_0_0, @error Error)
|
||||
|
||||
// LLVM: }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user