I'd like to be able to use UFCS with fully qualified function names.<div><br></div><div>A typical use case is to disambiguate , as in the following case:<div><br></div><div>



<font face="Menlo">
<span style="color:#009695">import</span><span style="color:#444444"> </span><span style="color:#444444">std</span><span style="color:#444444">.</span><span style="color:#444444">path</span><span style="color:#444444">;</span><br>

<span style="color:#009695">import</span><span style="color:#444444"> </span><span style="color:#444444">std</span><span style="color:#444444">.</span><span style="color:#009695">string</span><span style="color:#444444">;</span><br>

<span style="color:#009695">void</span><span style="color:#444444"> </span><span style="color:#444444">main</span><span style="color:#444444">(</span><span style="color:#444444">)</span><span style="color:#444444">{</span><br>

<span style="color:#444444">    </span><span style="font-style:italic;color:#999988">//</span><span style="font-style:italic;color:#999988">Error</span><span style="font-style:italic;color:#999988">:</span><span style="font-style:italic;color:#999988"> </span><span style="font-style:italic;color:#999988">std</span><span style="font-style:italic;color:#999988">.</span><span style="font-style:italic;color:#999988">path</span><span style="font-style:italic;color:#999988">.</span><span style="font-style:italic;color:#999988">join</span><span style="font-style:italic;color:#999988">(</span><span style="font-style:italic;color:#999988">)</span><span style="font-style:italic;color:#999988">(</span><span style="font-style:italic;color:#999988">const</span><span style="font-style:italic;color:#999988">(</span><span style="font-style:italic;color:#999988">char</span><span style="font-style:italic;color:#999988">)</span><span style="font-style:italic;color:#999988">[</span><span style="font-style:italic;color:#999988">]</span><span style="font-style:italic;color:#999988"> </span><span style="font-style:italic;color:#999988">p1</span><span style="font-style:italic;color:#999988">,</span><span style="font-style:italic;color:#999988"> </span><span style="font-style:italic;color:#999988">const</span><span style="font-style:italic;color:#999988">(</span><span style="font-style:italic;color:#999988">char</span><span style="font-style:italic;color:#999988">)</span><span style="font-style:italic;color:#999988">[</span><span style="font-style:italic;color:#999988">]</span><span style="font-style:italic;color:#999988"> </span><span style="font-style:italic;color:#999988">p2</span><span style="font-style:italic;color:#999988">,</span><span style="font-style:italic;color:#999988"> </span><span style="font-style:italic;color:#999988">const</span><span style="font-style:italic;color:#999988">(</span><span style="font-style:italic;color:#999988">char</span><span style="font-style:italic;color:#999988">[</span><span style="font-style:italic;color:#999988">]</span><span style="font-style:italic;color:#999988">)</span><span style="font-style:italic;color:#999988">[</span><span style="font-style:italic;color:#999988">]</span><span style="font-style:italic;color:#999988"> </span><span style="font-style:italic;color:#999988">more</span><span style="font-style:italic;color:#999988">.</span><span style="font-style:italic;color:#999988">.</span><span style="font-style:italic;color:#999988">.</span><span style="font-style:italic;color:#999988">)</span><span style="font-style:italic;color:#999988"> </span><span style="font-style:italic;color:#999988">at</span><span style="font-style:italic;color:#999988"> </span><span style="font-style:italic;color:#999988">.</span><span style="font-style:italic;color:#999988">.</span><span style="font-style:italic;color:#999988">.</span><span style="font-style:italic;color:#999988"> </span><span style="font-style:italic;color:#999988">conflicts</span><span style="font-style:italic;color:#999988"> </span><span style="font-style:italic;color:#999988">with</span><span style="font-style:italic;color:#999988"> </span><span style="font-style:italic;color:#999988">std</span><span style="font-style:italic;color:#999988">.</span><span style="font-style:italic;color:#999988">string</span><span style="font-style:italic;color:#999988">.</span><span style="font-style:italic;color:#999988">join</span><span style="font-style:italic;color:#999988"> </span><span style="font-style:italic;color:#999988">at</span><span style="font-style:italic;color:#999988"> </span><span style="font-style:italic;color:#999988">.</span><span style="font-style:italic;color:#999988">.</span><span style="font-style:italic;color:#999988">.</span><br>

<span style="color:#444444">    </span><span style="color:#009695">auto</span><span style="color:#444444"> </span><span style="color:#444444">a</span><span style="color:#444444">=</span><span style="color:#f57d00">"</span><span style="color:#f57d00">"</span><span style="color:#444444">.</span><span style="color:#444444">join</span><span style="color:#444444">(</span><span style="color:#f57d00">"</span><span style="color:#a53e00">\n</span><span style="color:#f57d00">"</span><span style="color:#444444">)</span><span style="color:#444444">;</span><br>

<span style="color:#444444">    </span><span style="font-style:italic;color:#999988">//</span><span style="font-style:italic;color:#999988">what</span><span style="font-style:italic;color:#999988"> </span><span style="font-style:italic;color:#999988">I</span><span style="font-style:italic;color:#999988">'</span><span style="font-style:italic;color:#999988">d</span><span style="font-style:italic;color:#999988"> </span><span style="font-style:italic;color:#999988">like</span><span style="font-style:italic;color:#999988"> </span><span style="font-style:italic;color:#999988">to</span><span style="font-style:italic;color:#999988"> </span><span style="font-style:italic;color:#999988">have</span><span style="font-style:italic;color:#999988">:</span><br>

<span style="color:#444444">    </span><span style="color:#009695">auto</span><span style="color:#444444"> </span><span style="color:#444444">a</span><span style="color:#444444">=</span><span style="color:#f57d00">"</span><span style="color:#f57d00">"</span><span style="color:#444444">.</span><span style="color:#444444">(</span><span style="color:#444444">std</span><span style="color:#444444">.</span><span style="color:#444444">path</span><span style="color:#444444">.</span><span style="color:#444444">join</span><span style="color:#444444">)</span><span style="color:#444444">(</span><span style="color:#f57d00">"</span><span style="color:#a53e00">\n</span><span style="color:#f57d00">"</span><span style="color:#444444">)</span><span style="color:#444444">;</span><br>

<span style="color:#444444">}</span><br>
</font></div><div><font face="Menlo"><span style="color:#444444"><br></span></font></div><div><font face="Menlo"><span style="color:#444444">note: the fact that </span></font><font color="#444444" face="Menlo">std.path.join!().join is deprecated is irrelevant to this discussion.</font></div>
<div><font color="#444444" face="Menlo"><br></font></div><div><font color="#444444" face="Menlo">Any chance this could be supported?</font></div><div><font color="#444444" face="Menlo"><br></font></div><div><font color="#444444" face="Menlo">benefits:</font></div>
<div><font color="#444444" face="Menlo">avoids breaking UFCS chains</font></div></div>