[Issue 10528] Private constant (enum) properties not private

2015-02-18 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10528

--- Comment #6 from github-bugzi...@puremagic.com ---
Commits pushed to 2.067 at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/0abc856097f35e0fd4451b28704be03058cc4820
fix Issue 10528 - Private constant (enum) properties not private

https://github.com/D-Programming-Language/dmd/commit/22cefcebcb7745e4aa9267f6b42c22bd2d42eca7
Merge pull request #4104 from 9rnsr/fix10528

--


[Issue 10528] Private constant (enum) properties not private

2014-11-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10528

Kenji Hara k.hara...@gmail.com changed:

   What|Removed |Added

   Keywords||accepts-invalid, pull
   Hardware|x86 |All
 OS|Windows |All

--- Comment #4 from Kenji Hara k.hara...@gmail.com ---
https://github.com/D-Programming-Language/dmd/pull/4104

--


[Issue 10528] Private constant (enum) properties not private

2014-11-01 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10528

--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/0abc856097f35e0fd4451b28704be03058cc4820
fix Issue 10528 - Private constant (enum) properties not private

https://github.com/D-Programming-Language/dmd/commit/22cefcebcb7745e4aa9267f6b42c22bd2d42eca7
Merge pull request #4104 from 9rnsr/fix10528

Issue 10528 - Private constant (enum) properties not private

--


[Issue 10528] Private constant (enum) properties not private

2014-10-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10528

murphyslaw...@gmail.com changed:

   What|Removed |Added

 CC||murphyslaw...@gmail.com

--- Comment #3 from murphyslaw...@gmail.com ---
Confirmed on DMD 2.066.0-1 on Linux. It also fails to catch the error inside an
anonymous enum aggregate.

If I declare ModuleData as:
private enum { ModuleData = asdfgh }
it also slips by the compiler without error.

--


[Issue 10528] Private constant (enum) properties not private

2013-07-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10528



--- Comment #1 from Adrien Pensart cruncheng...@gmail.com 2013-07-04 01:56:36 
PDT ---
Created an attachment (id=1228)
Testcase for visibility attribute bug

A simpler testcase, visibility attribute is completely broken, it could cause
big troubles...

tested on 2.063 on Windows XP, could someone test on other platforms ?

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


[Issue 10528] Private constant (enum) properties not private

2013-07-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10528


Adrien Pensart cruncheng...@gmail.com changed:

   What|Removed |Added

 CC||cruncheng...@gmail.com
   Severity|normal  |major


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


[Issue 10528] Private constant (enum) properties not private

2013-07-04 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10528


Henning Pohl henn...@still-hidden.de changed:

   What|Removed |Added

 CC||henn...@still-hidden.de
   Severity|major   |normal


--- Comment #2 from Henning Pohl henn...@still-hidden.de 2013-07-04 04:42:55 
PDT ---
(In reply to comment #1)
 Created an attachment (id=1228) [details]
 Testcase for visibility attribute bug
 
 A simpler testcase, visibility attribute is completely broken, it could cause
 big troubles...
 
 tested on 2.063 on Windows XP, could someone test on other platforms ?

In D private and protected symbols are also accessible in the module they
are declared in. So your test case should compile.

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