mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Update value-types.rst
This commit is contained in:
parent
a75b87c80e
commit
91b1ada8f5
@ -637,7 +637,7 @@ Conversions:
|
||||
A function type ``A`` is implicitly convertible to a function type ``B`` if and only if
|
||||
their parameter types are identical, their return types are identical,
|
||||
their internal/external property is identical and the state mutability of ``A``
|
||||
is not more restrictive than the state mutability of ``B``. In particular:
|
||||
is more restrictive than the state mutability of ``B``. In particular:
|
||||
|
||||
- ``pure`` functions can be converted to ``view`` and ``non-payable`` functions
|
||||
- ``view`` functions can be converted to ``non-payable`` functions
|
||||
|
Loading…
Reference in New Issue
Block a user