mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Corrected spacing to four spaces
This commit is contained in:
parent
bdb48b8567
commit
14bd009eb6
@ -110,9 +110,11 @@ Solidity internally allows tuple types, i.e. a list of objects of potentially di
|
|||||||
|
|
||||||
contract C {
|
contract C {
|
||||||
uint[] data;
|
uint[] data;
|
||||||
|
|
||||||
function f() returns (uint, bool, uint) {
|
function f() returns (uint, bool, uint) {
|
||||||
return (7, true, 2);
|
return (7, true, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
function g() {
|
function g() {
|
||||||
// Declares and assigns the variables. Specifying the type explicitly is not possible.
|
// Declares and assigns the variables. Specifying the type explicitly is not possible.
|
||||||
var (x, b, y) = f();
|
var (x, b, y) = f();
|
||||||
|
Loading…
Reference in New Issue
Block a user