Implement `with(auto x = ...)`
Thanks for your pull request and interest in making D better, @thewilsonator! We are looking forward to reviewing it, and you should be hearing from a maintainer soon. Please verify that your PR follows this checklist:
- My PR is fully covered with tests (you can see the coverage diff by visiting the details link of the codecov check)
- My PR is as minimal as possible (smaller, focused PRs are easier to review than big ones)
- I have provided a detailed rationale explaining my changes
- New or modified functions have Ddoc comments (with
Params:andReturns:)
Please see CONTRIBUTING.md for more information.
If you have addressed all reviews or aren't sure how to proceed, don't hesitate to ping us with a simple comment.
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#22196"
Thank you for doing this!
At https://buildkite.com/dlang/dmd/builds/44260/steps/canvas?sid=019afb40-c8cd-49d1-9a18-a711b8b866c0 seems to be a conflict with the syntax
tests/unit_threaded/ut/integration.d(24,20): Error: found `(` while expecting `=` or identifier
with(immutable Sandbox()) {
^
. The caret position seems to be off.