Skip to content

Commit 9118a07

Browse files
committed
Revert "Adapt to renaming of _getDefaultErrorCode() SPI."
This reverts commit 14e9a79.
1 parent c13b850 commit 9118a07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Foundation/NSError.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ public extension CustomNSError {
282282

283283
/// The error code within the given domain.
284284
var errorCode: Int {
285-
return _getDefaultErrorCode(self)
285+
return _swift_getDefaultErrorCode(self)
286286
}
287287

288288
/// The default user-info dictionary.

0 commit comments

Comments
 (0)