@@ -84,7 +84,7 @@ is not statically available. The problematic overloads will also be deprecated:
84
84
_ comment: @autoclosure () -> Comment? = nil,
85
85
sourceLocation: SourceLocation = #_sourceLocation,
86
86
performing expression: () async throws -> R
87
- - ) = #externalMacro(module: "TestingMacros", type: "RequireMacro") where E: Error
87
+ - ) where E: Error
88
88
+ ) -> E where E: Error
89
89
90
90
+ @discardableResult
@@ -93,7 +93,7 @@ is not statically available. The problematic overloads will also be deprecated:
93
93
_ comment: @autoclosure () -> Comment? = nil,
94
94
sourceLocation: SourceLocation = #_sourceLocation,
95
95
performing expression: () async throws -> R
96
- - ) = #externalMacro(module: "TestingMacros", type: "ExpectMacro") where E: Error & Equatable
96
+ - ) where E: Error & Equatable
97
97
+ ) -> E? where E: Error & Equatable
98
98
99
99
+ @discardableResult
@@ -102,7 +102,7 @@ is not statically available. The problematic overloads will also be deprecated:
102
102
_ comment: @autoclosure () -> Comment? = nil,
103
103
sourceLocation: SourceLocation = #_sourceLocation,
104
104
performing expression: () async throws -> R
105
- - ) = #externalMacro(module: "TestingMacros", type: "RequireMacro") where E: Error & Equatable
105
+ - ) where E: Error & Equatable
106
106
+ ) -> E where E: Error & Equatable
107
107
108
108
+ @available(*, deprecated, message: "Examine the result of '#expect(throws:)' instead.")
@@ -112,7 +112,7 @@ is not statically available. The problematic overloads will also be deprecated:
112
112
sourceLocation: SourceLocation = #_sourceLocation,
113
113
performing expression: () async throws -> R,
114
114
throws errorMatcher: (any Error) async throws -> Bool
115
- - ) = #externalMacro(module: "TestingMacros", type: "ExpectMacro")
115
+ - )
116
116
+ ) -> (any Error)?
117
117
118
118
+ @available(*, deprecated, message: "Examine the result of '#require(throws:)' instead.")
@@ -122,7 +122,7 @@ is not statically available. The problematic overloads will also be deprecated:
122
122
sourceLocation: SourceLocation = #_sourceLocation,
123
123
performing expression: () async throws -> R,
124
124
throws errorMatcher: (any Error) async throws -> Bool
125
- - ) = #externalMacro(module: "TestingMacros", type: "RequireMacro")
125
+ - )
126
126
+ ) -> any Error
127
127
```
128
128
0 commit comments