Skip to content

Commit

Permalink
Update test/libsolidity/syntaxTests/tupleAssignments/assignments_to_t…
Browse files Browse the repository at this point in the history
…uple_and_non_tuple_expressions_of_tuple_types.sol

Co-authored-by: Kamil Śliwak <kamil.sliwak@codepoets.it>
  • Loading branch information
r0qs and cameel committed May 14, 2024
1 parent 3b4d9bb commit a86dd89
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ contract C {
}

function n() public {
// ((array.push(), array.push())) is a tuple expression of a tuple expression, and its value is a tuple (pointer uint, pointer uint).
// ((array.push(), array.push())) is not a tuple expression, but contains a tuple expression, and the value of both is a tuple (pointer uint, pointer uint).
((array.push(), array.push())) = (1, 1);
}
}
Expand Down

0 comments on commit a86dd89

Please sign in to comment.