-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Distributed] Add name parameter to recordArgument for better interop #41799
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
Conversation
7ec88ea
to
54b9480
Compare
@swift-ci please smoke test |
Unblocked by swiftlang/swift-syntax#371 |
54b9480
to
5a5d1ba
Compare
RemoteCallArgument implemented 🎉 Was more painful than I would have expected but we managed thanks to @hamishknight's amazing help and hints how to apply the generic type info properly there. Thanks and I'm going ahead with merging this though the exact details are pending evolution -- maybe we'll change names of labels or something, but this API is definitely much better than previous iteration. |
@swift-ci please smoke test |
@swift-ci please smoke test Linux |
@swift-ci please smoke test windows |
亲,你的信件我已收到,我会在最快的时间内来处理,谢谢合作!
|
This allows better interop with various other targets, for example by storing invocation arguments along with their labels if the target of the call expects a JSON object (non swift targets come to mind).
We can also store the names or use them in diagnosis errors and more.