-
Notifications
You must be signed in to change notification settings - Fork 10.5k
[Distributed] distributed decls working across files #39087
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
Changes from all commits
9f1fedb
e004e6a
7763528
d76690e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2637,6 +2637,10 @@ static ArrayRef<Decl *> evaluateMembersRequest( | |
(void) var->getPropertyWrapperAuxiliaryVariables(); | ||
(void) var->getPropertyWrapperInitializerInfo(); | ||
} | ||
|
||
if (auto *func = dyn_cast<FuncDecl>(member)) { | ||
(void) func->getDistributedActorRemoteFuncDecl(); | ||
} | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. so basically we need to trigger synthesis/"get" in same spots as property wrappers most of the time -- one is here, and another is in lookups There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. (The lookups solve the across files case.) |
||
} | ||
} | ||
|
||
|
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.
this fixes the accessibility of the created init to be the same as the class for a dist actor.