[Issue 10528] Private constant (enum) properties not private
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Fri Oct 31 11:17:39 PDT 2014
https://issues.dlang.org/show_bug.cgi?id=10528
murphyslaw480 at gmail.com changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |murphyslaw480 at gmail.com
--- Comment #3 from murphyslaw480 at 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.
--
More information about the Digitalmars-d-bugs
mailing list