mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Convert to mobile type for array type.
This commit is contained in:
parent
fe5f85ef34
commit
c500d9f717
@ -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]);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user