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

Call pointer receiver method in struct passed by value. #354

Merged
merged 3 commits into from
Jun 6, 2023

Conversation

ipsusila
Copy link
Contributor

@ipsusila ipsusila commented Jun 5, 2023

An attempt to fix issue #351

@mattn
Copy link
Owner

mattn commented Jun 5, 2023

Thank you. Could you please add test?

@ipsusila ipsusila force-pushed the master branch 2 times, most recently from 28a24cd to aa6e508 Compare June 5, 2023 16:00
@ipsusila
Copy link
Contributor Author

ipsusila commented Jun 5, 2023

Thank you. Could you please add test?

Just add test cases with struct's instance passed to VM as pointer and value types.

If method exist then create instance's copy for invoking method.
@mattn mattn merged commit afcbc04 into mattn:master Jun 6, 2023
@mattn
Copy link
Owner

mattn commented Jun 6, 2023

Thank you

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