<div dir="ltr">On Mon, Dec 14, 2015 at 5:35 PM, Dan Loewenherz via swift-evolution <span dir="ltr"><<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
2. How can one reference a function with the same name as an instance<br>
method in the class from which you’re referencing from? E.g., in the above<br>
example, I believe that the “add” function is unreachable from within the class<br>
(please correct me if I’m wrong).</blockquote><div><br></div><div>FWIW, I like implicit self but have been bit by this several times before. You can use the current module's name to reference the free function, but the error messaging you'll face beforehand doesn't make it easy to get to that solution.</div><div><br></div><div>Stephen</div></div></div></div>