https://issues.dlang.org/show_bug.cgi?id=17125
Issue ID: 17125
Summary: Header Generation Incorrectly Formats Floating Point
Number
Product: D
Version: D2
Hardware: x86
OS: Windows
Status: NEW
Severity: normal
Priority: P1
Component: dmd
Assignee: [email protected]
Reporter: [email protected]
void func(real value = 1.3e5L)
{
}
The above code generates the following header:
void func(real value = 130000.L);
But "130000.L" isn't a valid number and gives a compile error:
Error: no property 'L' for type 'int'
--