Merge pull request #11428 from Lisanaaa/patch-1

array type is not callable
This commit is contained in:
Harikrishnan Mulackal authored and GitHub committed 2021-05-25 12:26:45 +02:00
commit 4d23c301c5
1 file changed
+1 -1
+1 -1
View File
@@ -148,7 +148,7 @@ If you have a ``public`` state variable of array type, then you can only retriev
single elements of the array via the generated getter function. This mechanism
exists to avoid high gas costs when returning an entire array. You can use
arguments to specify which individual element to return, for example
``data(0)``. If you want to return an entire array in one call, then you need
``myArray(0)``. If you want to return an entire array in one call, then you need
to write a function, for example:
::