diff options
author | RJ Catalano <catalanor0220@gmail.com> | 2016-01-12 13:41:20 +0800 |
---|---|---|
committer | RJ Catalano <catalanor0220@gmail.com> | 2016-01-12 13:41:20 +0800 |
commit | c45593a44480f846302fdb652e23bd47988fba84 (patch) | |
tree | 84226edd9239da911335f93641e5046766f2e55a /libsolidity/analysis | |
parent | b230fe19052307d1b71372599ccaf8e1440e1473 (diff) | |
download | dexon-solidity-c45593a44480f846302fdb652e23bd47988fba84.tar.gz dexon-solidity-c45593a44480f846302fdb652e23bd47988fba84.tar.zst dexon-solidity-c45593a44480f846302fdb652e23bd47988fba84.zip |
clarification on dynamic arrays, switcheroo on typepointer, and a documentation test added
Diffstat (limited to 'libsolidity/analysis')
-rw-r--r-- | libsolidity/analysis/TypeChecker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/analysis/TypeChecker.cpp b/libsolidity/analysis/TypeChecker.cpp index 3fb7303f..ab1151a1 100644 --- a/libsolidity/analysis/TypeChecker.cpp +++ b/libsolidity/analysis/TypeChecker.cpp @@ -784,7 +784,6 @@ bool TypeChecker::visit(TupleExpression const& _tuple) { vector<ASTPointer<Expression>> const& components = _tuple.components(); TypePointers types; - TypePointer inlineArrayType; if (_tuple.annotation().lValueRequested) { @@ -807,6 +806,7 @@ bool TypeChecker::visit(TupleExpression const& _tuple) } else { + TypePointer inlineArrayType; for (size_t i = 0; i < components.size(); ++i) { // Outside of an lvalue-context, the only situation where a component can be empty is (x,). |