digitalmars.D.bugs - [Issue 7269] New: Named string enum cannot compile with -g
- d-bugmail puremagic.com (23/23) Jan 10 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7269
- d-bugmail puremagic.com (6/6) Jan 11 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7269
- d-bugmail puremagic.com (12/13) Jan 11 2012 http://d.puremagic.com/issues/show_bug.cgi?id=7269
- d-bugmail puremagic.com (12/12) Feb 09 2013 http://d.puremagic.com/issues/show_bug.cgi?id=7269
http://d.puremagic.com/issues/show_bug.cgi?id=7269
Summary: Named string enum cannot compile with -g
Product: D
Version: D2
Platform: Other
OS/Version: Windows
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody puremagic.com
ReportedBy: simendsjo gmail.com
enum E : string {
A = "a"
}
void main() {}
dmd -g
err.d(2): Error: Integer constant expression expected instead of "a"
err.d(2): Error: Integer constant expression expected instead of "a"
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 10 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7269 .. For dmd 2.057. I haven't checked other versions. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------
Jan 11 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7269
bearophile_hugs eml.cc changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |bearophile_hugs eml.cc
.. For dmd 2.057. I haven't checked other versions.
The same problem is present with DMD 2.058head.
But maybe this issue is dupe.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Jan 11 2012
http://d.puremagic.com/issues/show_bug.cgi?id=7269
Andrej Mitrovic <andrej.mitrovich gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |andrej.mitrovich gmail.com
Resolution| |WORKSFORME
21:39:15 PST ---
Fixed in 2.061. This is a dupe of another report.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
Feb 09 2013









d-bugmail puremagic.com 