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


nfx...@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nfx...@gmail.com


--- Comment #4 from nfx...@gmail.com 2010-04-23 16:23:51 PDT ---
This has absolutely nothing to do with templates. It's because dmd does a very
crappy job when finding classes of a module and adding them into
ModuleInfo.localClasses. For example, this doesn't work either:

struct X {
    class Y {
    }
}

assert(!!Object.factory(X.Y.classinfo.name));

At least that's what I suspect. ModuleInfo.localClasses recently got commented
out in D2 (thanks a lot Walter), so I don't really feel like continuing finding
out what goes wrong.

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

Reply via email to