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

Fix ATF postAsMemberOf so that viewpointAdaptMember wouldn't get called on executables #87

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

baoruiz
Copy link
Member

@baoruiz baoruiz commented Apr 25, 2019

Notice that asMemberOf is invoked by both constructorFromUse and methodFromUse which subsequently causes viewpointAdaptMember to be called on constructors and methods. Here is one possible fix for this issue which checks whether postAsMemberOf is called on executables, but it seems too ad-hoc and more like a work-around.

@baoruiz baoruiz changed the title fix ATF postAsMemberOf so that viewpointAdaptMember wouldn't get called on executables Fix ATF postAsMemberOf so that viewpointAdaptMember wouldn't get called on executables Apr 25, 2019
@wmdietl
Copy link
Member

wmdietl commented May 28, 2020

@lnsun Can you please pull in master into this PR and think about this change?

@lnsun
Copy link
Member

lnsun commented May 28, 2020

@lnsun Can you please pull in master into this PR and think about this change?

Sure!

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