diff options
author | LianaHus <liana@ethdev.com> | 2015-08-21 23:57:57 +0800 |
---|---|---|
committer | LianaHus <liana@ethdev.com> | 2015-08-21 23:57:57 +0800 |
commit | 1af8ff01215f4d6ab5d5b3b1c4e2d1785a69c9c9 (patch) | |
tree | 8be884acdc58815c5463860c6ff147f37f548793 /libsolidity/ExpressionCompiler.h | |
parent | 289b8146703521943e6106e5d3f178deb0117652 (diff) | |
download | dexon-solidity-1af8ff01215f4d6ab5d5b3b1c4e2d1785a69c9c9.tar.gz dexon-solidity-1af8ff01215f4d6ab5d5b3b1c4e2d1785a69c9c9.tar.zst dexon-solidity-1af8ff01215f4d6ab5d5b3b1c4e2d1785a69c9c9.zip |
add tests for state variables accessors. normal and constant
fixed the issue with accessors for constant state variables
Diffstat (limited to 'libsolidity/ExpressionCompiler.h')
-rw-r--r-- | libsolidity/ExpressionCompiler.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libsolidity/ExpressionCompiler.h b/libsolidity/ExpressionCompiler.h index 642560c6..bd392c83 100644 --- a/libsolidity/ExpressionCompiler.h +++ b/libsolidity/ExpressionCompiler.h @@ -67,6 +67,9 @@ public: /// Appends code for a State Variable accessor function void appendStateVariableAccessor(VariableDeclaration const& _varDecl); + /// Appends code for a Constant State Variable accessor function + void appendConstStateVariableAccessor(const VariableDeclaration& _varDecl); + private: virtual bool visit(Assignment const& _assignment) override; virtual bool visit(UnaryOperation const& _unaryOperation) override; |