Skip to content

add -preview=return switch for return ref scope disambiguation #21404

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

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

Conversation

WalterBright
Copy link
Member

The implementation is in #21369, this PR is for the switch mechanics.

@WalterBright WalterBright requested a review from ibuclaw as a code owner May 25, 2025 01:29
@WalterBright WalterBright added the dip1000 memory safety with scope, ref, return label May 25, 2025
@dlang-bot
Copy link
Contributor

Thanks for your pull request, @WalterBright!

Bugzilla references

Your PR doesn't reference any Bugzilla issue.

If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog.

Testing this PR locally

If you don't have a local development environment setup, you can use Digger to test this PR:

dub run digger -- build "master + dmd#21404"

@WalterBright WalterBright force-pushed the retRefScope branch 4 times, most recently from cbb7acd to 16e2248 Compare May 26, 2025 23:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dip1000 memory safety with scope, ref, return
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants