From e21df35416169a6804f6019c2fbb487c74bad596 Mon Sep 17 00:00:00 2001 From: chriseth Date: Thu, 15 Oct 2015 16:02:00 +0200 Subject: [PATCH] MacOS fix. --- libsolidity/TypeChecker.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsolidity/TypeChecker.cpp b/libsolidity/TypeChecker.cpp index e9d01a847..dcaecdfbc 100644 --- a/libsolidity/TypeChecker.cpp +++ b/libsolidity/TypeChecker.cpp @@ -732,8 +732,8 @@ bool TypeChecker::visit(Assignment const& _assignment) _assignment.annotation().type = t; if (TupleType const* tupleType = dynamic_cast(t.get())) { - // Sequenced assignments of tuples is not valid. - _assignment.annotation().type = make_shared(); + // Sequenced assignments of tuples is not valid, make the result a "void" type. + _assignment.annotation().type = make_shared(); expectType(_assignment.rightHandSide(), *tupleType); } else if (t->category() == Type::Category::Mapping)