https://issues.dlang.org/show_bug.cgi?id=17910

--- Comment #3 from Steven Schveighoffer <[email protected]> ---
You have a choice, make your extension methods global, or don't use UFCS to
call them:

clear(b);

This is a perfectly reasonable tradeoff. D usually frowns upon having the same
code mean different things in different contexts. UFCS already pushes that
envelope, we don't need to push it more.

--

Reply via email to