October 03, 2016 [Issue 16586] Implicit casting of enum with explicit int base type fails | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16586 --- Comment #1 from m.bierlee@lostmoment.com --- Current work-around is to explicitly cast all enum members: int[] ints = [cast(int) IntTypeEnumOne.bla, cast(int) IntTypeEnumTwo.bleh]; -- | ||||
November 10, 2022 [Issue 16586] Implicit casting of enum with explicit int base type fails | ||||
|---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16586 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED CC| |razvan.nitu1305@gmail.com Resolution|--- |WORKSFORME --- Comment #2 from RazvanN <razvan.nitu1305@gmail.com> --- I cannot reproduce this. It seems to have been fixed since 2.094.2 -- | ||||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply