Property setter of primitive variable inside a block