pragma solidity >=0.4.9 <0.6.0; contract Ballot { struct Voter { uint weight; bool voted; uint8 vote; address delegate; baz foo; } struct baz{ uint bar; } mapping(address => Voter) voters; /// Create a new ballot with $(_numProposals) different proposals. function bla(address payable a) public { Voter storage x = voters[a]; if (!a.send(10)) revert(); //voters[a] = Voter(10,true,1,a); //x.foo.bar *= 100; bli(x); } //function bla(){} function bli(Voter storage x) private { x.foo.bar++; } }