http://d.puremagic.com/issues/show_bug.cgi?id=8444



--- Comment #4 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2012-10-03 
20:19:20 PDT ---
(In reply to comment #3)
> Looking at the DMD code I think my bug report is invalid. Dot looks up in the
> module scope, but there's no 'test' in the test module scope (unless it's an
> import of another module named 'test').
> 
> The OP code needs to use ".Foo" instead.

Also if clashes are of concern, the user can use an alias:

alias test ThisModule;

class Foo
{
    void foo(.ThisModule.Foo) { }
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------

Reply via email to