[Issue 8444] Cannot use dot to disambiguate between local method and class declaration

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Oct 3 20:23:14 PDT 2012


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


Andrej Mitrovic <andrej.mitrovich at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


--- Comment #3 from Andrej Mitrovic <andrej.mitrovich at gmail.com> 2012-10-03 20:17:10 PDT ---
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.

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


More information about the Digitalmars-d-bugs mailing list