Skip to content

[spec/struct] Add Member Functions section #4235

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

Merged
merged 1 commit into from
Jul 15, 2025
Merged

Conversation

ntrel
Copy link
Contributor

@ntrel ntrel commented Apr 27, 2025

Explain why a non-const method can be called on a struct rvalue.
Fixes #4234.

Explain that a non-const method can be called on a struct rvalue.
Fixes dlang#4234.
@dkorpel dkorpel merged commit 3fa0295 into dlang:master Jul 15, 2025
1 of 2 checks passed
@ntrel ntrel deleted the rvalue-method branch July 18, 2025 12:51
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.

Document that calling a method on a struct rvalue is allowed
2 participants