-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Implement 'note' #415
Comments
A simple version of this can probably be implemented with a library function and a macro. @nikomatsakis has been pining for the feature lately. |
Changing this to an enhancement for doing what @brson suggested as a library. |
I have written a note macro, although I'm not sure if this is what you had in mind: https://gist.github.com/4262524 |
D provides this functionality as part of their scope guard support, by allowing you to install them for one of |
Can someone point me at the spec for this? I cannot judge whether the note macro proposed in 14427's comment would suffice. |
(bug triage) Milestone seems right. |
Replaced with #9835, based on recent movement towards RAII idioms. The ability to run code on success or on exit regardless of failure is useful too. |
Haiku: Add in missing build-time types, fix module usage Working through the few final remaining build issues for the Haiku target.
Document preludes
Rename `y.sh test --clean-ui-tests` to `y.sh clean ui-tests`
Fix CI and pin toolchain
When unwinding, we should log things marked with 'note' in the unwinding block. Currently we have no support for this, despite excited claims in the manual.
The text was updated successfully, but these errors were encountered: