digitalmars.D.bugs - [Bug 61] New: DStress test enum_39
- d-bugmail puremagic.com (20/20) Mar 21 2006 http://d.puremagic.com/bugzilla/show_bug.cgi?id=61
- d-bugmail puremagic.com (14/14) Mar 22 2006 http://d.puremagic.com/bugzilla/show_bug.cgi?id=61
- d-bugmail puremagic.com (8/8) May 09 2006 http://d.puremagic.com/bugzilla/show_bug.cgi?id=61
- d-bugmail puremagic.com (11/11) May 09 2006 http://d.puremagic.com/bugzilla/show_bug.cgi?id=61
http://d.puremagic.com/bugzilla/show_bug.cgi?id=61 Summary: DStress test enum_39 Product: D Version: 0.150 Platform: All URL: http://dstress.kuehne.cn/nocompile/e/enum_39_A.d OS/Version: All Status: NEW Severity: normal Priority: P3 Component: DMD AssignedTo: bugzilla digitalmars.com ReportedBy: unknown simplemachines.org The DStress tests enum_39_A through enum_39_E are all caused by one simple mistake in the parser. It only results in incorrect error messages, but is also very easy to fix. Attaching a patch to show the problem and solution. Thanks, -[Unknown] --
Mar 21 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=61 Created an attachment (id=7) --> (http://d.puremagic.com/bugzilla/attachment.cgi?id=7&action=view) Pull the new loc while parsing EnumMembers. This is pretty darn straight forward. It's in the code that parses EnumMembers inside EnumDeclarations, and it sets loc to this->loc only once for the EnumDeclaration, but never for any of the EnumMembers (which may be on separate lines.) This loc is only used to pass where the member was defined (so any error messages which depend on that member would have been wrong, including conflicts the other way around.) -[Unknown] --
Mar 22 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=61 larsivar igesund.net changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |larsivar igesund.net This bug is listed as fixed in dmd 0.151, could someone verify it? --
May 09 2006
http://d.puremagic.com/bugzilla/show_bug.cgi?id=61 unknown simplemachines.org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED DStress shows this as passing since 0.151: http://dstress.kuehne.cn/www/dstress.html -[Unknown] --
May 09 2006