From 71ad1b38d5b5d0a25e383c1dce27e90ed6698f71 Mon Sep 17 00:00:00 2001 From: carblue Date: Thu, 25 Jan 2018 21:04:19 +0100 Subject: [PATCH] Parameter storage class in is an equivalent of const currently; see also discussion in issue #17928; may change later to const scope --- spec/function.dd | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/function.dd b/spec/function.dd index 0b262d20b2..289f09cc79 100644 --- a/spec/function.dd +++ b/spec/function.dd @@ -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)