mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
correct terminology
This commit is contained in:
parent
18539e5353
commit
694fc6835f
@ -1053,9 +1053,9 @@ but they can be used as base contracts::
|
|||||||
|
|
||||||
If a contract inherits from an abstract contract and does not implement all non-implemented functions by overriding, it will itself be abstract.
|
If a contract inherits from an abstract contract and does not implement all non-implemented functions by overriding, it will itself be abstract.
|
||||||
|
|
||||||
Note that an abstract function is different from a :ref:`Function Type <function-types>` even though their syntax looks very similar.
|
Note that a function without implementation is different from a :ref:`Function Type <function-types>` even though their syntax looks very similar.
|
||||||
|
|
||||||
Example of Abstract function (a function declaration)
|
Example of function without implementation (a function declaration)
|
||||||
::
|
::
|
||||||
|
|
||||||
function foo(address) external returns (address);
|
function foo(address) external returns (address);
|
||||||
|
Loading…
Reference in New Issue
Block a user