-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[stdlib] Adjust _assertionFailed signature for naming guidelines #6388
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[stdlib] Adjust _assertionFailed signature for naming guidelines #6388
Conversation
@swift-ci Please smoke test |
@@ -112,10 +111,10 @@ func _assertionFailed( | |||
@_versioned | |||
@inline(never) | |||
@_semantics("stdlib_binary_only") | |||
func _assertionFailed( | |||
func _assertionFailure( | |||
// FIXME(ABI)#19 : add argument labels to conform to API guidelines. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This fixme should be removed too right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, yes, thanks!
You should double check that there are no optimizer dependencies on this name. I think we got rid of them all, but it wouldn't hurt to check. |
@gottesmm I did a grep for |
The mangled name is what you would need to look for. |
The regular name will always be in the mangled name in the old mangling, so I think we're okay. (And going forward, we should not pattern-match mangled names in the optimizer. We can use |
Testing PR job change: (Please ignore this trigger) |
Just internal changes, no externally-facing API changes. Fixes ABI FIXMEs #18, 19 and 20