D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 22895 - importC: exponent parsed as member access
Summary: importC: exponent parsed as member access
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dmd (show other issues)
Version: D2
Hardware: All All
: P1 normal
Assignee: No Owner
URL:
Keywords: ImportC, pull, rejects-valid
Depends on:
Blocks:
 
Reported: 2022-03-18 04:51 UTC by duser
Modified: 2022-03-19 21:08 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description duser 2022-03-18 04:51:37 UTC
double x = 1.e6;

Error: `e6` is not a member of `int`
Comment 1 Dlang Bot 2022-03-19 20:20:31 UTC
@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 Dlang Bot 2022-03-19 21:08:19 UTC
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