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'd like to make it work.</div><div><br></div><div>Nevin</div><div><br><br>On Sunday, September 24, 2017, Robert Widmann <<a href="mailto:devteam.codafi@gmail.com">devteam.codafi@gmail.com</a>> 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>
> error: repl.swift:4:16: error: use of 'min' refers to instance method 'min()' rather than global function 'min' in module 'Swift'<br>
> return min(1,2)<br>
> ^<br>
><br>
> repl.swift:4:16: note: use 'Swift.' to reference the global function in module 'Swift'<br>
> return min(1,2)<br>
> ^<br>
> Swift.<br>
<br>
What version of Swift are you still seeing the bad diagnostic in?<br>
<br>
~Robert Widmann<br>
<br>
> On Sep 24, 2017, at 12:03 PM, Nevin Brackett-Rozinsky via swift-dev <<a href="javascript:;" onclick="_e(event, 'cvml', 'swift-dev@swift.org')">swift-dev@swift.org</a>> wrote:<br>
><br>
> 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>
><br>
> 1. Is this a reasonable first bug to tackle?<br>
> 2. What resources are available for newcomers to the Swift project?<br>
> 3. What will I need to learn about in order to address SR-2450?<br>
><br>
> Thanks,<br>
><br>
> Nevin<br>
> ______________________________<wbr>_________________<br>
> swift-dev mailing list<br>
> <a href="javascript:;" onclick="_e(event, 'cvml', 'swift-dev@swift.org')">swift-dev@swift.org</a><br>
> <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>