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

Foundation: extract cfSource from RunLoop._Source #2893

Merged
merged 1 commit into from
Oct 5, 2020

Conversation

compnerd
Copy link
Member

@compnerd compnerd commented Oct 4, 2020

Making cfSource a member within the structure prevents allowing
overriding of the open class as the type it returns cannot be
deserialised. Because the member is not a stored property, extract it
to an extension which removes it from the vtable. This allows the use
of the private type in an external context.

Making `cfSource` a member within the structure prevents allowing
overriding of the `open` class as the type it returns cannot be
deserialised.  Because the member is not a stored property, extract it
to an extension which removes it from the vtable.  This allows the use
of the private type in an external context.
@millenomi
Copy link
Contributor

Please also file separately to figure out why Windows could not handle this computed variable in this context?

@millenomi
Copy link
Contributor

@swift-ci please test and merge

@swift-ci swift-ci merged commit 9ebb444 into swiftlang:main Oct 5, 2020
@compnerd compnerd deleted the open-the-source branch October 5, 2020 01:48
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.

3 participants