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

Disallow returning references to temporary values #712

Merged
merged 1 commit into from
Jan 17, 2025

Conversation

marcauberer
Copy link
Member

  • Disallow returning references to temporary values
  • Add tests
  • Add object lifecycle tests

@marcauberer marcauberer added bug Something isn't working improvement Improvement of an existing feature labels Jan 17, 2025
@marcauberer marcauberer added this to the 0.21.0 milestone Jan 17, 2025
@marcauberer marcauberer self-assigned this Jan 17, 2025
@marcauberer marcauberer requested review from a team as code owners January 17, 2025 01:06
@github-actions github-actions bot added std Prs / issues regarding the standard lib compiler labels Jan 17, 2025
@marcauberer marcauberer enabled auto-merge (squash) January 17, 2025 01:07
@marcauberer marcauberer merged commit b459e27 into main Jan 17, 2025
5 checks passed
@marcauberer marcauberer deleted the fix/disallow-returning-refs-to-temporaries branch January 17, 2025 01:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working compiler improvement Improvement of an existing feature size/L std Prs / issues regarding the standard lib
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant