diff options
author | chriseth <c@ethdev.com> | 2015-06-05 20:34:10 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2015-06-05 23:37:16 +0800 |
commit | 5a9d01b815de437a287ac749b528a3dab1f98d9a (patch) | |
tree | 358f05c8c8f32e42a6e9fe4ce51d01c6e882572d /Types.cpp | |
parent | 6667c6736483b2ff9855b9b9a9147a9703a188d2 (diff) | |
download | dexon-solidity-5a9d01b815de437a287ac749b528a3dab1f98d9a.tar.gz dexon-solidity-5a9d01b815de437a287ac749b528a3dab1f98d9a.tar.zst dexon-solidity-5a9d01b815de437a287ac749b528a3dab1f98d9a.zip |
Bare functions return success condition.
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) |