[Issue 8816] It should be illegal for enums to declare members named init, max, or min
https://issues.dlang.org/show_bug.cgi?id=8816 RazvanN changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 8816] It should be illegal for enums to declare members named init, max, or min
https://issues.dlang.org/show_bug.cgi?id=8816 RazvanN changed: What|Removed |Added CC||razvan.nitu1...@gmail.com --- Comment #4 from RazvanN --- Cannot reproduce on DMD64 D Compiler v2.074.0-devel-4ee9f51 Ubuntu 16.04 64-bit. For all test cases (min/max/init) the compiler outputs "Cannot modify manifest constant $constants". --
[Issue 8816] It should be illegal for enums to declare members named init, max, or min
https://issues.dlang.org/show_bug.cgi?id=8816 Andrei Alexandrescu changed: What|Removed |Added Keywords||bootcamp CC||and...@erdani.com --- Comment #3 from Andrei Alexandrescu --- Should be a nice thing for a bootcamper to work on. --
[Issue 8816] It should be illegal for enums to declare members named init, max, or min
https://issues.dlang.org/show_bug.cgi?id=8816 Andrei Alexandrescu changed: What|Removed |Added Version|unspecified |D2 --
[Issue 8816] It should be illegal for enums to declare members named init, max, or min
http://d.puremagic.com/issues/show_bug.cgi?id=8816 Alex R�nne Petersen changed: What|Removed |Added CC||a...@lycus.org --- Comment #2 from Alex R�nne Petersen 2012-10-14 09:36:24 CEST --- For what it's worth, I agree that it's nonsensical to even allow this. It's just inviting catastrophe. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8816] It should be illegal for enums to declare members named init, max, or min
http://d.puremagic.com/issues/show_bug.cgi?id=8816 --- Comment #1 from Jonathan M Davis 2012-10-14 00:05:18 PDT --- See also issue# 8817. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---