Skip to content
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

Add required to NSObject #4884

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft

Conversation

Kyle-Ye
Copy link
Collaborator

@Kyle-Ye Kyle-Ye commented Feb 25, 2024

@Kyle-Ye
Copy link
Collaborator Author

Kyle-Ye commented Feb 25, 2024

@swift-ci test

@Kyle-Ye
Copy link
Collaborator Author

Kyle-Ye commented Feb 25, 2024

This patch aligns the behavior on Darwin's ObjectiveC NSObject implementation but it will be source breaking for the downstream user.

Can we add it as part of Swift 6?

@Kyle-Ye Kyle-Ye marked this pull request as draft February 26, 2024 02:45
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.

constructing an object of class type X with a metatype value must use a 'required' initializer
1 participant