You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Capture an optional string for use if the expectation currently being
78
-
/// evaluated fails.
79
-
///
80
-
/// - Parameters:
81
-
/// - value: The value to pass through.
82
-
/// - id: A value that uniquely identifies the represented expression in the
83
-
/// context of the expectation currently being evaluated.
84
-
///
85
-
/// - Returns: `value`, verbatim.
86
-
///
87
-
/// This overload of `callAsFunction()` is used when an optional string is
88
-
/// passed to allow for the correct handling of implicit C string conversion
89
-
/// after it returns. For more information about implicit type conversions
90
-
/// performed by the Swift compiler, see [here](https://developer.apple.com/documentation/swift/calling-functions-with-pointer-parameters#Pass-a-Constant-Pointer-as-a-Parameter).
91
-
///
92
-
/// - Warning: This function is used to implement the `#expect()` and
/// This overload of `callAsFunction()` is used when an optional array is
131
-
/// passed to allow for the correct handling of implicit C array conversion
132
-
/// after it returns. For more information about implicit type conversions
133
-
/// performed by the Swift compiler, see [here](https://developer.apple.com/documentation/swift/calling-functions-with-pointer-parameters#Pass-a-Constant-Pointer-as-a-Parameter).
87
+
/// This overload of `callAsFunction()` is used when an optional value is
88
+
/// passed to allow for the correct handling of various implicit conversions.
134
89
///
135
90
/// - Warning: This function is used to implement the `#expect()` and
0 commit comments