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


Kenji Hara <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |INVALID


--- Comment #6 from Kenji Hara <[email protected]> 2011-07-11 01:24:01 PDT ---
This is not bug.
In lib.d, you can't access Foo by name (without importing main).

---- lib.d ----
void Compiled(T, string memberName)()
{
    T t;      // ok
    Foo foo;  // error!
}
----

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

Reply via email to