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

Reference::flag method should return ReferenceFlag, not &ReferenceFlag #4992

Closed
overlookmotel opened this issue Aug 19, 2024 · 1 comment · Fixed by #5019
Closed

Reference::flag method should return ReferenceFlag, not &ReferenceFlag #4992

overlookmotel opened this issue Aug 19, 2024 · 1 comment · Fixed by #5019
Labels
A-semantic Area - Semantic

Comments

@overlookmotel
Copy link
Contributor

ReferenceFlag is Copy. Reference::flag method should return ReferenceFlag (1 byte), not &ReferenceFlag (8 bytes).

See also #4991 - I also propose renaming this method.

@overlookmotel
Copy link
Contributor Author

Fixed in #5019.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-semantic Area - Semantic
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant