From d34b59453a26c939cb231824ec941e009f3d5f89 Mon Sep 17 00:00:00 2001 From: chriseth Date: Mon, 14 Mar 2016 15:46:55 +0100 Subject: Clarification --- docs/types.rst | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/types.rst b/docs/types.rst index 04101c10..6702ce08 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -296,7 +296,9 @@ So `bytes` should always be preferred over `byte[]` because it is cheaper. Allocating Memory Arrays ^^^^^^^^^^^^^^^^^^^^^^^^ -Creating arrays with variable length in memory can be done using the `new` keyword: +Creating arrays with variable length in memory can be done using the `new` keyword. +As opposed to storage arrays, it is **not** possible to resize memory arrays by assigning to +the `.length` member. :: -- cgit v1.2.3