diff --git a/docs/types.rst b/docs/types.rst index 6702ce08f..187f62c1e 100644 --- a/docs/types.rst +++ b/docs/types.rst @@ -306,6 +306,8 @@ the `.length` member. function f(uint len) { uint[] memory a = new uint[](7); bytes memory b = new bytes(len); + // Here we have a.length == 7 and b.length == len + a[6] = 8; } }