diff options
author | Christian <c@ethdev.com> | 2015-02-12 22:44:35 +0800 |
---|---|---|
committer | Christian <c@ethdev.com> | 2015-02-12 22:44:35 +0800 |
commit | b836d952b245935a0c03352fb0c80bd03c2f4b55 (patch) | |
tree | a3d7c60d0dbb60dce2bd916a5f0598044ffe6e0b /Types.cpp | |
parent | 5e40b7942689ffa5777ee88fe90d424608027656 (diff) | |
download | dexon-solidity-b836d952b245935a0c03352fb0c80bd03c2f4b55.tar.gz dexon-solidity-b836d952b245935a0c03352fb0c80bd03c2f4b55.tar.zst dexon-solidity-b836d952b245935a0c03352fb0c80bd03c2f4b55.zip |
length member for byte arrays.
Diffstat (limited to 'Types.cpp')
-rw-r--r-- | Types.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -541,6 +541,8 @@ unsigned ByteArrayType::getSizeOnStack() const return 1; } +const MemberList ByteArrayType::s_byteArrayMemberList = MemberList({{"length", make_shared<IntegerType >(256)}}); + bool ContractType::operator==(Type const& _other) const { if (_other.getCategory() != getCategory()) |