Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Parameter storage class in is an equivalent of const currently; see a…
…lso discussion in issue #17928; may change later to const scope
  • Loading branch information
carblue committed Jan 25, 2018
1 parent 4e07e9f commit 71ad1b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/function.dd
Expand Up @@ -1180,7 +1180,7 @@ int foo(in int x, out int y, ref int z, int q);
$(THEAD Storage Class, Description)
$(TROW $(I none), parameter becomes a mutable copy of its argument)

$(TROW $(D in), equivalent to $(D const scope))
$(TROW $(D in), equivalent to $(D const))
$(TROW $(D out), parameter is initialized upon function entry with the default value
for its type)

Expand Down

0 comments on commit 71ad1b3

Please sign in to comment.