2018-05-16 01:06:47 +00:00
|
|
|
contract C {
|
2018-06-11 12:15:27 +00:00
|
|
|
function f() pure public {
|
|
|
|
(uint a, uint b, uint c) = g();
|
|
|
|
(uint d) = 2;
|
|
|
|
(, uint e) = 3;
|
|
|
|
(uint h,) = 4;
|
|
|
|
(uint x,,) = g();
|
|
|
|
(, uint y,) = g();
|
|
|
|
a; b; c; d; e; h; x; y;
|
2018-05-16 01:06:47 +00:00
|
|
|
}
|
2018-06-11 12:15:27 +00:00
|
|
|
function g() pure public returns (uint, uint, uint) {}
|
2018-05-16 01:06:47 +00:00
|
|
|
}
|
|
|
|
// ----
|
2018-06-11 12:15:27 +00:00
|
|
|
// Warning: (93-107): Different number of components on the left hand side (2) than on the right hand side (1).
|
|
|
|
// Warning: (111-124): Different number of components on the left hand side (2) than on the right hand side (1).
|