-
-
Notifications
You must be signed in to change notification settings - Fork 380
Document Placement NewExpression #4161
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
Conversation
Thanks for your pull request, @WalterBright! Bugzilla referencesYour PR doesn't reference any Bugzilla issue. If your PR contains non-trivial changes, please reference a Bugzilla issue or create a manual changelog. |
If it is not appropriate to merge in 72 hours, feel free to take off the tag. |
2c73e49
to
eb6cbf0
Compare
I cannot merge it anyway until the dmd PR is merged, as otherwise the code examples will not work. |
@WalterBright Is this ready to be merged now? |
spec/expression.dd
Outdated
$(P The lifetime of the object presented as an lvalue ends with the execution of the $(I NewExpression), | ||
and a new lifetime of the placed object starts after the execution.) | ||
|
||
$(SPEC_RUNNABLE_EXAMPLE_COMPILE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All 3 examples should be SPEC_RUNNABLE_EXAMPLE_RUN, so the auto-tester checks the asserts.
Can someone fix the pending comments to have this PR merged? |
Co-authored-by: Nick Treleaven <[email protected]>
applied suggested changes; examples now runnable
PR: dlang/dmd#17057