Bug 3063 – Importing std.dateparse and dependent files in DMD 2.030 causes DSSS/Rebuild to fail
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P2
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2009-06-11T08:08:00Z
Last change time
2015-06-09T01:27:58Z
Assigned to
nobody
Creator
julian
Comments
Comment #0 by julian — 2009-06-11T08:08:39Z
An extraneous comma at the end of line 383 (in the array dateidtab[]) of std/dateparse.d in the Phobos library included with DMD 2.030 (and some previous alpha versions) causes DSSS and Rebuild to fail after going out-of-memory (because they can't adequately generate an error from the incorrect syntax).
Because of this, anyone who imports std.dateparse, and in turn std.date, std.file, std.stream etc. will have the compilation of their project fail in DSSS. Removing the extra comma should fix the problem.
Comment #1 by andrej.mitrovich — 2011-05-24T22:21:00Z
Ancient but it's fixed, and this module is deprecated anyway.