-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Distributed] Reproducer for generics and library evolution mode #80588
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
[Distributed] Reproducer for generics and library evolution mode #80588
Conversation
e1ca212
to
4fcbfbe
Compare
…ust work This corrects how we were dealing with dispatch thunks -- mostly be removing a lot of special casing we did but doesn't seem necessary and instead we correct and emit all the necessary information int TBD. This builds on swiftlang#74935 by further refining how we fixed that issue, and adds more regression tests. It also removes a load of special casing of distributed thunks in library evolution mode, which is great. Resolves and adds regression test for for rdar://145292018 This is also a more proper fix to the previously resolved but in a not-great-way which caused other issues: - resolves rdar://128284016 - resolves rdar://128310903
4fcbfbe
to
957a95b
Compare
Figured out a solution and even fixed other TBD issues along the way, and past TBD issues in a cleaner way. Will want to verify this in a project as well to make sure we don't break anyone with this but it looks solid -- way less special casing! |
@swift-ci please smoke test |
@swift-ci please test |
@swift-ci please build toolchain macOS |
@swift-ci please test source compatibility |
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.
LGTM! I left a few comments about the test inline but nothing blocking.
test/Distributed/Runtime/distributed_actor_library_evolution_da_protocol_use.swift
Show resolved
Hide resolved
test/Distributed/Runtime/distributed_actor_library_evolution_da_protocol_use.swift
Outdated
Show resolved
Hide resolved
Hmm, build issue on simulator run, let me restrict this to macos and linux
|
@swift-ci please test |
This corrects how we were dealing with dispatch thunks -- mostly be
removing a lot of special casing we did but doesn't seem necessary and
instead we correct and emit all the necessary information int TBD.
This builds on #74935 by further refining how we fixed that issue, and adds more regression tests. It also removes a load of special casing of distributed thunks in library evolution mode, which is great.
Resolves and adds regression test for for rdar://145292018
This is also a more proper fix to the previously resolved but in a not-great-way which caused other issues: