diff options
author | chriseth <c@ethdev.com> | 2015-06-06 06:45:47 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-06-06 06:45:47 +0800 |
commit | b51ef4a357b4b60fc01038b0e97280fb9ecca01e (patch) | |
tree | 729b53241b687f435209b6f45d3aa3b0faf5dce9 /Types.cpp | |
parent | 779e793d60f2076fbd35b34f0c2073e92c058eef (diff) | |
parent | 651d755e562dc8b5bc12e42b0b808ff1046f5d43 (diff) | |
download | dexon-solidity-b51ef4a357b4b60fc01038b0e97280fb9ecca01e.tar dexon-solidity-b51ef4a357b4b60fc01038b0e97280fb9ecca01e.tar.gz dexon-solidity-b51ef4a357b4b60fc01038b0e97280fb9ecca01e.tar.bz2 dexon-solidity-b51ef4a357b4b60fc01038b0e97280fb9ecca01e.tar.lz dexon-solidity-b51ef4a357b4b60fc01038b0e97280fb9ecca01e.tar.xz dexon-solidity-b51ef4a357b4b60fc01038b0e97280fb9ecca01e.tar.zst dexon-solidity-b51ef4a357b4b60fc01038b0e97280fb9ecca01e.zip |
Merge pull request #2096 from chriseth/sol_constantFallback
Fallback takes constant amount of gas, and send no gas with send.
Diffstat (limited to 'Types.cpp')
-rw-r--r-- | Types.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -317,9 +317,9 @@ TypePointer IntegerType::binaryOperatorResult(Token::Value _operator, TypePointe const MemberList IntegerType::AddressMemberList({ {"balance", make_shared<IntegerType >(256)}, - {"call", make_shared<FunctionType>(strings(), strings(), FunctionType::Location::Bare, true)}, - {"callcode", make_shared<FunctionType>(strings(), strings(), FunctionType::Location::BareCallCode, true)}, - {"send", make_shared<FunctionType>(strings{"uint"}, strings{}, FunctionType::Location::Send)} + {"call", make_shared<FunctionType>(strings(), strings{"bool"}, FunctionType::Location::Bare, true)}, + {"callcode", make_shared<FunctionType>(strings(), strings{"bool"}, FunctionType::Location::BareCallCode, true)}, + {"send", make_shared<FunctionType>(strings{"uint"}, strings{"bool"}, FunctionType::Location::Send)} }); IntegerConstantType::IntegerConstantType(Literal const& _literal) |