Skip to content

[test] Add test case for convenience init inheritance #27882

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

Merged

Conversation

hamishknight
Copy link
Contributor

This test case tripped up an attempt I made to simplify addImplicitInheritedConstructorsToClass for clang decls. Add it to the test suite to make sure we don't regress it.

This test case tripped up an attempt I made to
simplify addImplicitInheritedConstructorsToClass
for clang decls. Add it to the test suite to make
sure we don't regress it.
@hamishknight
Copy link
Contributor Author

@swift-ci please smoke test

@jrose-apple
Copy link
Contributor

That is a wacky test case and I would hope it never comes up in real life. Does it, though?

@hamishknight
Copy link
Contributor Author

@jrose-apple Yeah, I managed to reduce this down after hitting a similar case in CloudKit.

CKSubscription has a (deprecated) designated init initWithRecordType:predicate:subscriptionID:options:, and its subclass CKQuerySubscription also defines it as a designed init, but SwiftPrivate.

@hamishknight
Copy link
Contributor Author

@swift-ci please smoke test OS X platform

@jrose-apple
Copy link
Contributor

😢 Okay, thanks for identifying it, then.

@hamishknight hamishknight merged commit 54e94b5 into swiftlang:master Oct 25, 2019
@hamishknight hamishknight deleted the a-test-for-your-convenience branch October 25, 2019 18:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants