Bug 22895 – importC: exponent parsed as member access
Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2022-03-18T04:51:37Z
Last change time
2022-03-19T21:08:19Z
Keywords
ImportC, pull, rejects-valid
Assigned to
No Owner
Creator
duser
Comments
Comment #0 by duser — 2022-03-18T04:51:37Z
double x = 1.e6;
Error: `e6` is not a member of `int`
Comment #1 by dlang-bot — 2022-03-19T20:20:31Z
@WalterBright created dlang/dmd pull request #13844 "fix Issue 22895 - importC: exponent parsed as member access" fixing this issue:
- fix Issue 22895 - importC: exponent parsed as member access
https://github.com/dlang/dmd/pull/13844
Comment #2 by dlang-bot — 2022-03-19T21:08:19Z
dlang/dmd pull request #13844 "fix Issue 22895 - importC: exponent parsed as member access" was merged into master:
- 1c83a7dc10c2ef0e794bb77d73860f391a881ffb by Walter Bright:
fix Issue 22895 - importC: exponent parsed as member access
https://github.com/dlang/dmd/pull/13844