mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
add tests for state variables accessors. normal and constant
fixed the issue with accessors for constant state variables
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user