[Issue 6833] New: Double literals outputted without comma in headers
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Oct 20 02:53:13 PDT 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6833
Summary: Double literals outputted without comma in headers
Product: D
Version: D2
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: DMD
AssignedTo: nobody at puremagic.com
ReportedBy: dawg at dawgfoto.de
--- Comment #0 from dawg at dawgfoto.de 2011-10-20 02:52:10 PDT ---
--- bug.d ---
module bug;
auto a = 3 / 2.0;
---
dmd -c -H bug.d
Resulting header:
--- bug.di ---
module bug;
auto a = 3 / 2;
---
When creating an import header, floating point literals are written
without their fractional part if it is '.0'.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list