mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #6039 from xwvvvvwx/docs_contract_type_conversions
correct documentation around contract type conversion
This commit is contained in:
commit
c8fb2c1ba3
@ -305,8 +305,7 @@ Contract Types
|
||||
|
||||
Every :ref:`contract<contracts>` defines its own type.
|
||||
You can implicitly convert contracts to contracts they inherit from.
|
||||
Contracts can be explicitly converted to and from all other contract types
|
||||
and the ``address`` type.
|
||||
Contracts can be explicitly converted to and from the ``address`` type.
|
||||
|
||||
Explicit conversion to and from the ``address payable`` type
|
||||
is only possible if the contract type has a payable fallback function.
|
||||
|
Loading…
Reference in New Issue
Block a user