[Issue 21828] Using enum of struct (containing another enum) before its declaration fails

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 15 18:44:20 UTC 2021


https://issues.dlang.org/show_bug.cgi?id=21828

Boris Carvajal <boris2.9 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |boris2.9 at gmail.com

--- Comment #3 from Boris Carvajal <boris2.9 at gmail.com> ---
reduced test case:

----
E e;

enum E
{
    a = "x"
}
----

Forward references just assume int value.

--


More information about the Digitalmars-d-bugs mailing list