mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #312 from ethers/patch-4
sending value to an overloaded function
This commit is contained in:
commit
eae71cee9d
@ -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
|
||||
******************
|
||||
|
Loading…
Reference in New Issue
Block a user