aboutsummaryrefslogtreecommitdiffstats
path: root/Types.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-06-05 20:34:10 +0800
committerchriseth <c@ethdev.com>2015-06-05 23:37:16 +0800
commit5a9d01b815de437a287ac749b528a3dab1f98d9a (patch)
tree358f05c8c8f32e42a6e9fe4ce51d01c6e882572d /Types.cpp
parent6667c6736483b2ff9855b9b9a9147a9703a188d2 (diff)
downloaddexon-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.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Types.cpp b/Types.cpp
index 03e8e4ee..1316bbc3 100644
--- a/Types.cpp
+++ b/Types.cpp
@@ -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)