The new diagnostic is fine, the problem is that there should not be an error at all. If there is only one function with the proper signature, the compiler should not invent a non-existent ambiguity.<div><br></div><div>The situation I encountered involves functions of different arities, so it should be straightforward to select the correct one, yet it still fails to compile. I&#39;d like to make it work.</div><div><br></div><div>Nevin</div><div><br><br>On Sunday, September 24, 2017, Robert Widmann &lt;<a href="mailto:devteam.codafi@gmail.com">devteam.codafi@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This appears to be resolved (in fact, I remember improving this some time ago).  I get a much better diagnostic now<br>
<br>
&gt; error: repl.swift:4:16: error: use of &#39;min&#39; refers to instance method &#39;min()&#39; rather than global function &#39;min&#39; in module &#39;Swift&#39;<br>
&gt;         return min(1,2)<br>
&gt;                ^<br>
&gt;<br>
&gt; repl.swift:4:16: note: use &#39;Swift.&#39; to reference the global function in module &#39;Swift&#39;<br>
&gt;         return min(1,2)<br>
&gt;                ^<br>
&gt;                Swift.<br>
<br>
What version of Swift are you still seeing the bad diagnostic in?<br>
<br>
~Robert Widmann<br>
<br>
&gt; On Sep 24, 2017, at 12:03 PM, Nevin Brackett-Rozinsky via swift-dev &lt;<a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;swift-dev@swift.org&#39;)">swift-dev@swift.org</a>&gt; wrote:<br>
&gt;<br>
&gt; I recently got bit by SR-2450, and I’d like to try to fix it. However, I’ve never worked on the compiler before and I have some questions:<br>
&gt;<br>
&gt; 1. Is this a reasonable first bug to tackle?<br>
&gt; 2. What resources are available for newcomers to the Swift project?<br>
&gt; 3. What will I need to learn about in order to address SR-2450?<br>
&gt;<br>
&gt; Thanks,<br>
&gt;<br>
&gt; Nevin<br>
&gt; ______________________________<wbr>_________________<br>
&gt; swift-dev mailing list<br>
&gt; <a href="javascript:;" onclick="_e(event, &#39;cvml&#39;, &#39;swift-dev@swift.org&#39;)">swift-dev@swift.org</a><br>
&gt; <a href="https://lists.swift.org/mailman/listinfo/swift-dev" target="_blank">https://lists.swift.org/<wbr>mailman/listinfo/swift-dev</a><br>
<br>
</blockquote></div>