Skip to content

Commit 3c0a735

Browse files
authored
Merge pull request #13262 from xromrom/fixLinkToInternalFunctionCallsInDocs
[Docs] Fixed link to internal-function-calls
2 parents 3a5b43e + bbf6ecf commit 3c0a735

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/contracts/functions.rst

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,13 +74,13 @@ Function parameters can be used as any other local variable and they can also be
7474

7575
.. note::
7676

77-
An :ref:`external function<external-function-calls>` cannot accept a
78-
multi-dimensional array as an input
79-
parameter. This functionality is possible if you enable the ABI coder v2
80-
by adding ``pragma abicoder v2;`` to your source file.
77+
Until version 0.6.0 it was not possible to use a multi-dimensional array or a struct
78+
as an input for an :ref:`external function<external-function-calls>`.
79+
``abicoder v2`` made it possible and it's been enabled by default since version 0.8.0
80+
(before that you had to enable it with ``pragma abicoder v2;``).
8181

82-
An :ref:`internal function<external-function-calls>` can accept a
83-
multi-dimensional array without enabling the feature.
82+
An :ref:`internal function<internal-function-calls>` can accept a
83+
multi-dimensional array or a struct without any restrictions.
8484

8585
.. index:: return array, return string, array, string, array of strings, dynamic array, variably sized array, return struct, struct
8686

0 commit comments

Comments
 (0)