www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.bugs - [Issue 22895] New: importC: exponent parsed as member access

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

          Issue ID: 22895
           Summary: importC: exponent parsed as member access
           Product: D
           Version: D2
          Hardware: All
                OS: All
            Status: NEW
          Keywords: ImportC, rejects-valid
          Severity: normal
          Priority: P1
         Component: dmd
          Assignee: nobody puremagic.com
          Reporter: duser neet.fi

double x = 1.e6;

Error: `e6` is not a member of `int`

--
Mar 17 2022