diff options
author | ethers <ethereum@outlook.com> | 2015-12-19 10:13:17 +0800 |
---|---|---|
committer | ethers <ethereum@outlook.com> | 2015-12-19 10:13:17 +0800 |
commit | f03a8c9cb76aebd28bebad86f8caf470bbdcd08e (patch) | |
tree | 355913df89ca33ca77f52657ead99fd977f3104d /docs | |
parent | 6c6295b74e6e93d838672e70109880e27bb5f614 (diff) | |
download | dexon-solidity-f03a8c9cb76aebd28bebad86f8caf470bbdcd08e.tar.gz dexon-solidity-f03a8c9cb76aebd28bebad86f8caf470bbdcd08e.tar.zst dexon-solidity-f03a8c9cb76aebd28bebad86f8caf470bbdcd08e.zip |
sending value to an overloaded function
from https://gitter.im/ethereum/solidity?at=5673fb41b5777fb85ba496fa
Diffstat (limited to 'docs')
-rw-r--r-- | docs/frequently-asked-questions.rst | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/frequently-asked-questions.rst b/docs/frequently-asked-questions.rst index fd68aa11..cf037131 100644 --- a/docs/frequently-asked-questions.rst +++ b/docs/frequently-asked-questions.rst @@ -554,6 +554,16 @@ What is the difference between `bytes` and `byte[]`? CALLDATA) or in memory, every single element of a `byte[]` is padded to 32 bytes which wastes 31 bytes per element. +Is it possible to send a value while calling an overloaded function? +==================================================================== + +It's a known missing feature. https://www.pivotaltracker.com/story/show/92020468 +as part of https://www.pivotaltracker.com/n/projects/1189488 + +Best solution currently see is to introduce a special case for gas and value and +just re-check whether they are present at the point of overload resolution. + + ****************** Advanced Questions ****************** |