@@ -1050,7 +1050,6 @@ public func __checkClosureCall<EExpected, EActual>(
1050
1050
public func __checkClosureCall< R> (
1051
1051
performing body: ( ) throws ( any Error ) -> R ,
1052
1052
throws errorMatcher: ( any Error ) throws ( any Error ) -> Bool ,
1053
- mismatchExplanation: ( ( any Error ) -> String ) ? = nil ,
1054
1053
expression: __Expression ,
1055
1054
comments: @autoclosure ( ) -> [ Comment ] ,
1056
1055
isRequired: Bool ,
@@ -1059,7 +1058,7 @@ public func __checkClosureCall<R>(
1059
1058
_check (
1060
1059
performing: body,
1061
1060
throws: errorMatcher,
1062
- mismatchExplanation: mismatchExplanation ,
1061
+ mismatchExplanation: nil ,
1063
1062
expression: expression,
1064
1063
comments: comments ( ) ,
1065
1064
isRequired: isRequired,
@@ -1076,7 +1075,6 @@ public func __checkClosureCall<R>(
1076
1075
public func __checkClosureCall< R> (
1077
1076
performing body: ( ) async throws ( any Error ) -> sending R,
1078
1077
throws errorMatcher: ( any Error ) async throws ( any Error ) -> Bool ,
1079
- mismatchExplanation: ( ( any Error ) -> String ) ? = nil ,
1080
1078
expression: __Expression ,
1081
1079
comments: @autoclosure ( ) -> [ Comment ] ,
1082
1080
isRequired: Bool ,
@@ -1086,7 +1084,7 @@ public func __checkClosureCall<R>(
1086
1084
await _check (
1087
1085
performing: body,
1088
1086
throws: errorMatcher,
1089
- mismatchExplanation: mismatchExplanation ,
1087
+ mismatchExplanation: nil ,
1090
1088
expression: expression,
1091
1089
comments: comments ( ) ,
1092
1090
isRequired: isRequired,
0 commit comments