Bug 20599 – cpp_long as enum type doesn't work

Status
RESOLVED
Resolution
FIXED
Severity
normal
Priority
P1
Component
dmd
Product
D
Version
D2
Platform
All
OS
All
Creation time
2020-02-23T01:15:48Z
Last change time
2021-03-18T13:17:31Z
Keywords
pull
Assigned to
No Owner
Creator
Manu

Comments

Comment #0 by turkeyman — 2020-02-23T01:15:48Z
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 by dlang-bot — 2021-03-18T04:39:52Z
@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 by dlang-bot — 2021-03-18T13:17:31Z
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