Walter Bright <> changed:

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

--- Comment #6 from Walter Bright <> 2012-01-22 
01:35:54 PST ---
The error you get is expected.

The statement:

    import a;

introduces the name 'a' into the current scope, where 'a' is a module name.
Names in the current scope are always searched before names in imported scopes.
Hence, the 'a' module name is found before 'a' the template.

a.a works because module 'a' is found, and then 'a' is looked up in the scope
of module 'a'.

This is how it is designed to work.

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to