[Issue 11849] Recursive enum causes segfault

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Jan 7 02:26:25 PST 2014


https://d.puremagic.com/issues/show_bug.cgi?id=11849


Kenji Hara <k.hara.pg at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |regression


--- Comment #8 from Kenji Hara <k.hara.pg at gmail.com> 2014-01-07 02:26:24 PST ---
(In reply to comment #0)
> alias DWORD = uint;
> 
> enum : DWORD
> {
>     REG_DWORD = 4
> }
> 
> enum RegValueType : DWORD
> {
>     Unknown = DWORD.max,
>     DWORD = REG_DWORD
> }

This code meaning was changed from 2.064, but infinite loop did not occur with
2.063.

-- 
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list