[Issue 15880] New: int hex literals properties are rejected

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Tue Apr 5 12:38:35 PDT 2016


https://issues.dlang.org/show_bug.cgi?id=15880

          Issue ID: 15880
           Summary: int hex literals properties are rejected
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody at puremagic.com
          Reporter: b2.temp at gmx.com

void main()
{
    auto a = 0x1.max;
    //auto a = 0x1 .max; // OK
} 

> /tmp/temp_7FBB6754EA30.d(3,14): Error: exponent required for hex float
 

--


More information about the Digitalmars-d-bugs mailing list