2020-03-30 13:18:51 +00:00
|
|
|
contract C {
|
2020-04-07 17:31:48 +00:00
|
|
|
function f() public {
|
2020-03-30 13:18:51 +00:00
|
|
|
(((((((((((,2),)),)),),))=4)));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// ----
|
2020-06-19 00:26:46 +00:00
|
|
|
// TypeError 4247: (53-54): Expression has to be an lvalue.
|
|
|
|
// TypeError 7407: (67-68): Type int_const 4 is not implicitly convertible to expected type tuple(tuple(tuple(tuple(tuple(,int_const 2),),),),).
|
|
|
|
// TypeError 6473: (44-68): Tuple component cannot be empty.
|
|
|
|
// TypeError 6473: (43-69): Tuple component cannot be empty.
|
|
|
|
// TypeError 6473: (42-70): Tuple component cannot be empty.
|