mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[stdlib] all sorts of require renamed back to precondition
This commit is contained in:
@@ -482,7 +482,7 @@ extension Array : _ObjectiveCBridgeable {
|
||||
source: NSArray,
|
||||
inout result: Array?
|
||||
) {
|
||||
_require(
|
||||
_precondition(
|
||||
Swift._isBridgedToObjectiveC(Element.self),
|
||||
"array element type is not bridged to Objective-C")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user