From c9f935db9a2e137a84176065be86fdc39e0a8133 Mon Sep 17 00:00:00 2001 From: Charles Cooper Date: Tue, 7 Apr 2020 20:13:20 +0000 Subject: [PATCH] fix: rhs type for tuple assign --- vyper/parser/parser_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vyper/parser/parser_utils.py b/vyper/parser/parser_utils.py index b0ae6f4829..a1caa93259 100644 --- a/vyper/parser/parser_utils.py +++ b/vyper/parser/parser_utils.py @@ -694,7 +694,7 @@ def make_setter(left, right, location, pos, in_function_call=False): for key, loc in zip(keyz, locations): subs.append(make_setter( add_variable_offset(left_token, key, pos=pos), - LLLnode.from_list(None, typ=left.typ.members[key]), + LLLnode.from_list(None, typ=right.typ.members[key]), loc, pos=pos, ))