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


kenn...@gmail.com changed:

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


--- Comment #1 from kenn...@gmail.com 2011-05-23 15:25:24 PDT ---
This is expected. An inner struct contains a context pointer to the scope. Use
'static struct' and that 'void*' member will be gone. To illustrate:

-----------------------------------
void main() {
    struct S{ void a(){} }
    static struct T{ void b(){} }
    pragma(msg, S.tupleof);
    pragma(msg, T.tupleof);
}
-----------------------------------
tuple((S).this)
tuple()
-----------------------------------

(Although changing that struct to 'static struct' causes a forward-reference
error)

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

Reply via email to