Skip to content

Handle generic computed properties in key paths. #10741

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
merged 3 commits into from
Jul 7, 2017

Conversation

jckarter
Copy link
Contributor

@jckarter jckarter commented Jul 1, 2017

rdar://problem/31768590

@jckarter
Copy link
Contributor Author

jckarter commented Jul 1, 2017

@swift-ci Please test

@swift-ci
Copy link
Contributor

swift-ci commented Jul 1, 2017

Build failed
Jenkins build - Swift Test Linux Platform
Git Commit - 6086075a6f99c0db7548bc9660d53c00677eedeb
Test requested by - @jckarter

@jckarter
Copy link
Contributor Author

jckarter commented Jul 5, 2017

@swift-ci Please smoke test Linux

jckarter added 2 commits July 6, 2017 20:07
A necessary precursor to supporting subscripts and unspecialized generic accessors in general. Give get/set components the ability to have an "argument" area that gets instantiated by copying out of the key path pattern arguments at instantiation time, and which holds "witness" information for how to copy, destroy, equate, and hash arguments.
Use the KeyPath implementation's new support for instantiating and dealing with captures to lower the generic context required to dispatch computed accessors with dependent generics.
@jckarter
Copy link
Contributor Author

jckarter commented Jul 7, 2017

@swift-ci Please smoke test

1 similar comment
@jckarter
Copy link
Contributor Author

jckarter commented Jul 7, 2017

@swift-ci Please smoke test

…fcounting.

It's more appropriate to use `Unknown` refcounting, which we correctly handle in the face of non-ObjC-interop elsewhere. Fixes a problem where the Linux standard library would contain an unresolvable reference to `objc_release`.
@jckarter jckarter force-pushed the key-path-generic-computed branch from 4c5c2bd to 81ea860 Compare July 7, 2017 16:52
@jckarter
Copy link
Contributor Author

jckarter commented Jul 7, 2017

@swift-ci Please smoke test

1 similar comment
@jckarter
Copy link
Contributor Author

jckarter commented Jul 7, 2017

@swift-ci Please smoke test

@jckarter
Copy link
Contributor Author

jckarter commented Jul 7, 2017

@swift-ci Please smoke test Linux

@jckarter jckarter merged commit 8793212 into swiftlang:master Jul 7, 2017
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