diff options
author | chriseth <c@ethdev.com> | 2017-03-06 21:38:29 +0800 |
---|---|---|
committer | chriseth <c@ethdev.com> | 2017-03-06 21:42:28 +0800 |
commit | c500d9f717d50137be7d9507dfc4abf0840caf48 (patch) | |
tree | 9d3c5f7a6183b6a4c9716f5a6f14172d7c7caa7a | |
parent | fe5f85ef344dff2ecefb7ac3782221f9cf5effc1 (diff) | |
download | dexon-solidity-c500d9f717d50137be7d9507dfc4abf0840caf48.tar.gz dexon-solidity-c500d9f717d50137be7d9507dfc4abf0840caf48.tar.zst dexon-solidity-c500d9f717d50137be7d9507dfc4abf0840caf48.zip |
Convert to mobile type for array type.
-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 5426cd17..54139546 100644 --- a/libsolidity/analysis/TypeChecker.cpp +++ b/libsolidity/analysis/TypeChecker.cpp @@ -1014,7 +1014,7 @@ bool TypeChecker::visit(TupleExpression const& _tuple) fatalTypeError(components[i]->location(), "Invalid mobile type."); if (i == 0) - inlineArrayType = types[i]; + inlineArrayType = types[i]->mobileType(); else if (inlineArrayType) inlineArrayType = Type::commonType(inlineArrayType, types[i]); } |