Skip to content

Commit 547b2fb

Browse files
authored
Merge pull request #1357 from apple/revert-1322-revert-error-code-4.1
Revert "Revert "Adapt to renaming of _getDefaultErrorCode() SPI.""
2 parents b841b60 + 090ded5 commit 547b2fb

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 _swift_getDefaultErrorCode(self)
285+
return _getDefaultErrorCode(self)
286286
}
287287

288288
/// The default user-info dictionary.

0 commit comments

Comments
 (0)