D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 20599 - cpp_long as enum type doesn't work
Summary: cpp_long as enum type doesn't work
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: pull
Depends on:
Blocks:
 
Reported: 2020-02-23 01:15 UTC by Manu
Modified: 2021-03-18 13:17 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 Manu 2020-02-23 01:15:48 UTC
import core.stdc.config;

enum E : cpp_long;
enum F : cpp_longlong;


> Error: enum test.E unable to resolve forward reference in definition
Comment 1 Dlang Bot 2021-03-18 04:39:52 UTC
@thewilsonator created dlang/dmd pull request #12284 "Fix issue 20599 - cpp_long as enum type doesn't work" fixing this issue:

- Fix issue 20599 - cpp_long as enum type doesn't work

https://github.com/dlang/dmd/pull/12284
Comment 2 Dlang Bot 2021-03-18 13:17:31 UTC
dlang/dmd pull request #12284 "Fix issue 20599 - cpp_long as enum type doesn't work" was merged into master:

- 4e53eb00546e78c49e581ff910f02a4ea418cb5e by Nicholas Lindsay Wilson:
  Fix issue 20599 - cpp_long as enum type doesn't work

https://github.com/dlang/dmd/pull/12284