https://issues.dlang.org/show_bug.cgi?id=15897
--- Comment #4 from Steven Schveighoffer <schvei...@yahoo.com> --- (In reply to Martin Nowak from comment #3) > Yes I think that should compil, just like this works. > ... > cat.create(); // >> no property create for type 'b.cat' The comment implies that it doesn't compile, but I tested and it does. Another case: 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 --