Skip to content
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

Document spec change from DMD PR14569 #3432

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion spec/function.dd
Original file line number Diff line number Diff line change
Expand Up @@ -1446,7 +1446,7 @@ $(H3 $(LNAME2 in-params, In Parameters))

$(B Note: The following requires the $(D -preview=in) switch$(COMMA) available in
$(LINK2 $(ROOT_DIR)changelog/2.094.0.html#preview-in, v2.094.0) or higher.
When not in use, `in` is equivalent to `const`.)
When not in use, `in` is either equivalent to `const`, or `const scope` if $(D preview=dip1000) is used.)
$(P The parameter is an input to the function. Input parameters behave as if they have
the $(D const scope) storage classes. Input parameters may also be passed by reference by the compiler.)
$(P Unlike $(D ref) parameters$(COMMA) $(D in) parameters can bind to both lvalues and rvalues
Expand Down