-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Include @propagate_inbounds docstring in documentation #30403
Conversation
AFAICT we don't usually include unexported things in the manual. Edit: Maybe you can include it in the devdocs for boundschecking instead? |
Even if it is not exported, I suppose
It's already mentioned in devdocs: https://docs.julialang.org/en/v1.2-dev/devdocs/boundscheck/#Propagating-inbounds-1 But I think it's better to have it in the manual to make it easier to be discovered. |
Not sure, wouldn't it have been exported in that case?
Yea, but I was suggesting adding the docstring to that page instead. At least make it a reference. |
I already mentioned the counter examples ( |
Ok, but
|
I added the link. |
Yeah, I say it's worth documenting this even if we don't export it. Heck, I'd even be okay exporting it, but it is a bit of an expert feature. |
Triage: Fine change, but no backport. |
Especially since we already reference this in other documentation! |
Just an addition of one line.