diff options
author | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-12 22:19:04 +0800 |
---|---|---|
committer | Lefteris Karapetsas <lefteris@refu.co> | 2015-02-14 06:16:14 +0800 |
commit | e7f40863ef223c47dffe69c812d363b7553151d1 (patch) | |
tree | cde05328a9c7aeffd04cb1e893c2328536178077 /Types.h | |
parent | a989f6f97a9fd5615500e561f51b5c160df08183 (diff) | |
download | dexon-solidity-e7f40863ef223c47dffe69c812d363b7553151d1.tar.gz dexon-solidity-e7f40863ef223c47dffe69c812d363b7553151d1.tar.zst dexon-solidity-e7f40863ef223c47dffe69c812d363b7553151d1.zip |
Correcting and testing enum member access
Diffstat (limited to 'Types.h')
-rw-r--r-- | Types.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -379,8 +379,9 @@ public: virtual bool operator==(Type const& _other) const override; virtual unsigned getSizeOnStack() const override { return 1; /*@todo*/ } virtual std::string toString() const override; + virtual bool isValueType() const override { return true; } - virtual MemberList const& getMembers() const override; + EnumDefinition const& getEnumDefinition() const { return m_enum; } private: EnumDefinition const& m_enum; |