aboutsummaryrefslogtreecommitdiffstats
path: root/AST.h
diff options
context:
space:
mode:
authorLiana Husikyan <liana@ethdev.com>2015-02-20 19:27:39 +0800
committerLiana Husikyan <liana@ethdev.com>2015-02-21 05:51:16 +0800
commit858acaa1937ccc2f6cc13bb3076abc32c43789b0 (patch)
tree6628fd9080584e7dbae13272a00aee9a2357df1a /AST.h
parent1ed86b33bcb07f432209953ec4ed1779d0831452 (diff)
downloaddexon-solidity-858acaa1937ccc2f6cc13bb3076abc32c43789b0.tar
dexon-solidity-858acaa1937ccc2f6cc13bb3076abc32c43789b0.tar.gz
dexon-solidity-858acaa1937ccc2f6cc13bb3076abc32c43789b0.tar.bz2
dexon-solidity-858acaa1937ccc2f6cc13bb3076abc32c43789b0.tar.lz
dexon-solidity-858acaa1937ccc2f6cc13bb3076abc32c43789b0.tar.xz
dexon-solidity-858acaa1937ccc2f6cc13bb3076abc32c43789b0.tar.zst
dexon-solidity-858acaa1937ccc2f6cc13bb3076abc32c43789b0.zip
corrected accept for variableDeclaration
changes after code review
Diffstat (limited to 'AST.h')
-rw-r--r--AST.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/AST.h b/AST.h
index c7fd068d..064457d3 100644
--- a/AST.h
+++ b/AST.h
@@ -451,7 +451,7 @@ public:
virtual bool isLValue() const override;
- /// Checks that all parameters have allowed types and calls checkTypeRequirements on the body.
+ /// Calls checkTypeRequirments for all state variables.
void checkTypeRequirements();
bool isLocalVariable() const { return !!dynamic_cast<FunctionDefinition const*>(getScope()); }
bool isExternalFunctionParameter() const;