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

--- Comment #5 from Walter Bright <bugzi...@digitalmars.com> ---
(In reply to Steven Schveighoffer from comment #4)
> private void create(Animal animal) { import std.stdio; writeln("ufcs"); }
> 
> class Animal
> {
>     void create() { import std.stdio; writeln("member"); }
> }
> 
> void main() { foo(new Cat); }
> 
> prints: ufcs
> 
> In 2.070.2 it prints: member

That's what everyone has been asking for.

--

Reply via email to