mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #14551 from zobront/develop
docs: add clarification about post-execution modifier behavior
This commit is contained in:
commit
5a5e0b5bb3
@ -132,7 +132,7 @@ variables are set to their :ref:`default values<default-value>` just as if the f
|
||||
body.
|
||||
|
||||
The ``_`` symbol can appear in the modifier multiple times. Each occurrence is replaced with
|
||||
the function body.
|
||||
the function body, and the function returns the return value of the final occurrence.
|
||||
|
||||
Arbitrary expressions are allowed for modifier arguments and in this context,
|
||||
all symbols visible from the function are visible in the modifier. Symbols
|
||||
|
Loading…
Reference in New Issue
Block a user