<div dir="ltr">I think we should not take over this thread with much more of this discussion but eg this:<br><div>let i: Int = Int.init(123)</div><div>would not compile if that initializer had a return type of Void rather than Int. The only initializer I can think of that returns Void is Void() / Void.init().</div><div>/Jens</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 9, 2016 at 2:15 PM, Tino Heth <span dir="ltr"><<a href="mailto:2th@gmx.de" target="_blank">2th@gmx.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div><blockquote type="cite"><div><div class="gmail_extra" style="font-family:Helvetica;font-size:12px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px">Initializers are clearly not void-functions</div></div></blockquote>Really?</div><div>There is no "return ..." in a regular init-method, and every other function declared like "init" won't return anything but void — so imho the "clearly" is more than questionable:</div><div>Just replace the magic name with anything else, and you have void function.</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">bitCycle AB | Smedjegatan 12 | 742 32 Östhammar | Sweden<br><a href="http://www.bitcycle.com/" target="_blank">http://www.bitcycle.com/</a><br>Phone: +46-73-753 24 62<br>E-mail: <a href="mailto:jens@bitcycle.com" target="_blank">jens@bitcycle.com</a><br><br></div>
</div>