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
Update Core Language specification #1040
Conversation
) | ||
|
||
$(P If the bounds check in $(D @system) or $(D @trusted) code disabled, still | ||
the code correctness have to be guaranteed by the code author. |
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.
Suggestion: If the bounds check in $(D @system) or $(D @trusted) code is disabled, the code correctness must still be guaranteed by the code author.
I have a few suggestions for how the wording can be improved, but other than that, this is a good change. |
@Hackerpilot Thanks a lot for your wording suggestions! |
with a compile time switch. | ||
) | ||
$(P An out of bounds memory access will cause undefined behavior, | ||
therefore array bounds check is normally enabled in $(D @safe) function. |
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.
s/function/functions/
Revive #1040 - spec/attributes.d merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
Revive #1040 - spec/{enum,expression}.d + dcompiler.d merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
Revive #1040 - spec/arrays.d merged-on-behalf-of: Sebastian Wilzbach <sebi.wilzbach@gmail.com>
Revive #1040 - spec/{interface,template}.d + glossary.d
Revive #1040 - spec/function.d
Points: