<div dir="ltr"><div>I have a struct with two properties one being Lazy and other being the normal one.When I try to initialise the struct the init function autosuggests the lazy property to be optional.Ideally the implementation should be such that, only non lazy and non computed properties must have been passed to the initialiser.Obviously this could be done through custom init implementation.But would like to know why its not handled.</div><div><br></div><div>Have a look at the image for reference.</div><div><br></div><div><img src="cid:ii_154f17eeea02f831" alt="Inline image 2" width="412" height="116"><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Pritesh Nandgaonkar<div>Department of Electrical Engineering</div><div>IIT Bomba</div></div></div>
</div>