Skip to content

Commit 67b28e4

Browse files
authored
Merge pull request #1322 from slavapestov/revert-error-code-4.1
Revert "Adapt to renaming of _getDefaultErrorCode() SPI."
2 parents c13b850 + 9118a07 commit 67b28e4

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)