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

2021-04-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21828

Boris Carvajal  changed:

   What|Removed |Added

 CC||boris...@gmail.com

--- Comment #3 from Boris Carvajal  ---
reduced test case:


E e;

enum E
{
a = "x"
}


Forward references just assume int value.

--


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

2021-04-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21828

--- Comment #2 from Dlang Bot  ---
@BorisCarvajal created dlang/dmd pull request #12438 "Fix Issue 21828 - Using
enum of struct (containing another enum) befo…" fixing this issue:

- Fix Issue 21828 - Using enum of struct (containing another enum) before its
declaration fails

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

--


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

2021-04-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21828

Dlang Bot  changed:

   What|Removed |Added

   Keywords||pull

--- Comment #1 from Dlang Bot  ---
@RazvanN7 created dlang/dmd pull request #12437 "Fix Issue 21828 - Using enum
of struct (containing another enum) before its declaration fails" fixing this
issue:

- Fix Issue 21828 - Using enum of struct (containing another enum) before its
declaration fails

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

--


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

2021-04-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21828

Mark Visser  changed:

   What|Removed |Added

 CC|m...@sarc.nl|

--


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

2021-04-15 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=21828

Mark Visser  changed:

   What|Removed |Added

 CC||m...@sarc.nl

--