aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/Types.cpp
diff options
context:
space:
mode:
authorchriseth <c@ethdev.com>2015-10-15 06:42:36 +0800
committerchriseth <c@ethdev.com>2015-10-15 23:38:42 +0800
commit029b8194892b6b08ce70075bd66f43f66c40e301 (patch)
tree3cce6cff28599d09ce612633c2d13d76ebe9e7da /libsolidity/Types.cpp
parent039b2a764f3944768bb253102f4c4b788f2dca9c (diff)
downloaddexon-solidity-029b8194892b6b08ce70075bd66f43f66c40e301.tar.gz
dexon-solidity-029b8194892b6b08ce70075bd66f43f66c40e301.tar.zst
dexon-solidity-029b8194892b6b08ce70075bd66f43f66c40e301.zip
Wildcards.
Diffstat (limited to 'libsolidity/Types.cpp')
-rw-r--r--libsolidity/Types.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/Types.cpp b/libsolidity/Types.cpp
index aca959b3..02b86a7f 100644
--- a/libsolidity/Types.cpp
+++ b/libsolidity/Types.cpp
@@ -1328,7 +1328,7 @@ TypePointer TupleType::closestTemporaryType(TypePointer const& _targetType) cons
size_t si = fillRight ? i : components().size() - i - 1;
size_t ti = fillRight ? i : targetComponents.size() - i - 1;
if (components()[si] && targetComponents[ti])
- tempComponents[ti] = components()[si]->closestTemporaryType(targetComponents[si]);
+ tempComponents[ti] = components()[si]->closestTemporaryType(targetComponents[ti]);
}
return make_shared<TupleType>(tempComponents);
}