mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #658 from graup/graup-patch-1
Fix typo in Libraries section
This commit is contained in:
commit
b23c300792
@ -742,7 +742,7 @@ only once at a specific address and their code is reused using the ``DELEGATECAL
|
|||||||
(``CALLCODE`` until Homestead)
|
(``CALLCODE`` until Homestead)
|
||||||
feature of the EVM. This means that if library functions are called, their code
|
feature of the EVM. This means that if library functions are called, their code
|
||||||
is executed in the context of the calling contract, i.e. ``this`` points to the
|
is executed in the context of the calling contract, i.e. ``this`` points to the
|
||||||
calling contract and especially the storage from the calling contract can be
|
calling contract, and especially the storage from the calling contract can be
|
||||||
accessed. As a library is an isolated piece of source code, it can only access
|
accessed. As a library is an isolated piece of source code, it can only access
|
||||||
state variables of the calling contract if they are explicitly supplied (it
|
state variables of the calling contract if they are explicitly supplied (it
|
||||||
would have no way to name them, otherwise).
|
would have no way to name them, otherwise).
|
||||||
|
Loading…
Reference in New Issue
Block a user