digitalmars.D.bugs - [Issue 6315] New: Compiling typed named enum with -g switch yelds an error.
- d-bugmail puremagic.com (26/26) Jul 14 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6315
- d-bugmail puremagic.com (13/13) Jul 16 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6315
- d-bugmail puremagic.com (14/14) Jul 16 2011 http://d.puremagic.com/issues/show_bug.cgi?id=6315
http://d.puremagic.com/issues/show_bug.cgi?id=6315 Summary: Compiling typed named enum with -g switch yelds an error. Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nobody puremagic.com ReportedBy: kajetan.rzepecki+puremagic gmail.com --- Comment #0 from Kajtek <kajetan.rzepecki+puremagic gmail.com> 2011-07-14 05:55:54 PDT --- Tested with DMD 2.054 on Win32. Didn't happen in DMD 2.053. enum : string { //OK A = "A", } enum Enum : string { B = "B", //Error: Integer constant expression expected instead of "B". } void main() {} -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 14 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6315 Kenji Hara <k.hara.pg gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |k.hara.pg gmail.com --- Comment #1 from Kenji Hara <k.hara.pg gmail.com> 2011-07-16 01:58:42 PDT --- This is cv4_Denum function problem in tocvdebug.c. It calls enum member's toInteger(). And, in local, same error occurs with 'dmd-2.053' tag. Maybe this is not 2.054 regression. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 16 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6315 Rainer Schuetze <r.sagitario gmx.de> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |r.sagitario gmx.de Resolution| |DUPLICATE --- Comment #2 from Rainer Schuetze <r.sagitario gmx.de> 2011-07-16 06:09:01 PDT --- There is already a simple patch in report 5985, but maybe a pull request is needed nowadays. *** This issue has been marked as a duplicate of issue 5985 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jul 16 2011