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


Jonathan M Davis <jmdavisp...@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jmdavisp...@gmx.com
            Version|1.043                       |D1 & D2


--- Comment #7 from Jonathan M Davis <jmdavisp...@gmx.com> 2011-05-08 14:48:51 
PDT ---
This is a bug in both D1 and D2, so I'm marking it as such. TestStruct
shouldn't even be constructable outside of tmp1.d. The question of allowing you
to access its member variables is secondary. It looks like the struct itself is
being left as public, when it should be private. Now, it's still a bug if you
can access its private member variables, but you shouldn't even be able to
construct it in the first place.

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

Reply via email to