blob: 5b7f870bcd32eebbedb68475eb90cd391a532456 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
|
pragma experimental "v0.5.0";
contract C {
function f() public pure returns (uint, uint, bytes32) {
uint a;
bytes32 b;
(a,) = f();
(,b) = f();
}
}
// ----
// TypeError: (126-136): Different number of components on the left hand side (2) than on the right hand side (3).
// TypeError: (140-150): Different number of components on the left hand side (2) than on the right hand side (3).
|