From b4fb7255dd3d05d5430a8b3f8b3a80fae2e4954d Mon Sep 17 00:00:00 2001 From: hyperfekt Date: Fri, 26 Jan 2018 15:32:11 +0100 Subject: [PATCH] fixes ethereum/solidity#1209 This clears up a common and easy misunderstanding which seems to occur rather often. (https://ethereum.stackexchange.com/questions/8263/trying-to-understand-libraries) --- docs/contracts.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/contracts.rst b/docs/contracts.rst index 77715e938..afc32b169 100644 --- a/docs/contracts.rst +++ b/docs/contracts.rst @@ -1115,7 +1115,7 @@ if the library were a base contract. Of course, calls to internal functions use the internal calling convention, which means that all internal types can be passed and memory types will be passed by reference and not copied. To realize this in the EVM, code of internal library functions -and all functions called from therein will be pulled into the calling +and all functions called from therein will at compile time be pulled into the calling contract, and a regular ``JUMP`` call will be used instead of a ``DELEGATECALL``. .. index:: using for, set