A contract like this:
contract test {
function fun(uint256 a) returns (address b) {
if (a < 0) b = 0x67; else if (a == 0) b = 0x12; else b = 0x78;
}
}
is prettified like this:
contract test {
function fun(uint256 a) returns(address b) {
if (a < 0) b = 0x67; else if (a == 0) b = 0x12; else b = 0x78;
}
}
Almost no changes.
I'm not sure what is the best output here. Should we add the braces or is that too opinionated?
A contract like this:
is prettified like this:
Almost no changes.
I'm not sure what is the best output here. Should we add the braces or is that too opinionated?