Thread overview
[Issue 10528] Private constant (enum) properties not private
Nov 01, 2014
Kenji Hara
October 31, 2014
https://issues.dlang.org/show_bug.cgi?id=10528

murphyslaw480@gmail.com changed:

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

--- Comment #3 from murphyslaw480@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.

--
November 01, 2014
https://issues.dlang.org/show_bug.cgi?id=10528

Kenji Hara <k.hara.pg@gmail.com> changed:

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

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

--
November 02, 2014
https://issues.dlang.org/show_bug.cgi?id=10528

--- Comment #5 from github-bugzilla@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

--
February 19, 2015
https://issues.dlang.org/show_bug.cgi?id=10528

--- Comment #6 from github-bugzilla@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

--