Thread overview | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
|
March 26, 2018 [Issue 18578] First enum value assigned 0 instead of EnumBaseType.init | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18578 RazvanN <razvan.nitu1305@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |razvan.nitu1305@gmail.com --- Comment #1 from RazvanN <razvan.nitu1305@gmail.com> --- PR : https://github.com/dlang/dmd/pull/8090/files -- |
March 26, 2018 [Issue 18578] First enum value assigned 0 instead of EnumBaseType.init | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18578 --- Comment #2 from Jonathan Marler <johnnymarler@gmail.com> --- Also noticed this one: https://github.com/dlang/dmd/pull/7996/files I think @LemonBoy created this PR without knowing that I had made a bug for this issue. -- |
March 26, 2018 [Issue 18578] First enum value assigned 0 instead of EnumBaseType.init | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18578 --- Comment #3 from github-bugzilla@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/12503d908853e65732995351ee9579cfb1384fa0 Fix Issue 18578 - First enum value assigned 0 instead of EnumBaseType.init https://github.com/dlang/dmd/commit/5cbd4730e0e0d0bdfe8bf818ad85cea64608990b Merge pull request #8090 from RazvanN7/Issue_18578 Fix Issue 18578 - First enum value assigned 0 instead of EnumBaseType.init merged-on-behalf-of: Walter Bright <WalterBright@users.noreply.github.com> -- |
March 26, 2018 [Issue 18578] First enum value assigned 0 instead of EnumBaseType.init | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18578 github-bugzilla@puremagic.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED -- |
August 15, 2020 [Issue 18578] First enum value assigned 0 instead of EnumBaseType.init | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18578 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid Status|RESOLVED |REOPENED CC| |b2.temp@gmx.com Resolution|FIXED |--- Severity|enhancement |normal --- Comment #4 from Basile-z <b2.temp@gmx.com> --- new TC: --- enum E { e1 = 1 } enum F: E { f1 } static assert(F.init == 1); --- > /tmp/temp_7F28124F66B0.d(4,1): Error: static assert: `cast(F)cast(E)0 == 1` is false -- |
December 17, 2022 [Issue 18578] First enum value assigned 0 instead of EnumBaseType.init | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18578 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
January 30, 2023 [Issue 18578] First enum value assigned 0 instead of EnumBaseType.init | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18578 Nick Treleaven <nick@geany.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |Ajieskola@gmail.com --- Comment #5 from Nick Treleaven <nick@geany.org> --- *** Issue 23492 has been marked as a duplicate of this issue. *** -- |
September 09, 2023 [Issue 18578] First enum value assigned 0 instead of EnumBaseType.init | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18578 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |pull --- Comment #6 from Dlang Bot <dlang-bot@dlang.rocks> --- @ntrel created dlang/dlang.org pull request #3694 "First enum member is converted from 0 to base type" fixing this issue: - First enum member is converted from 0 to base type Fix Issue 18578 - First enum value assigned 0 instead of EnumBaseType.init. https://github.com/dlang/dlang.org/pull/3694 -- |
September 20, 2023 [Issue 18578] First enum value assigned 0 instead of EnumBaseType.init | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=18578 Dlang Bot <dlang-bot@dlang.rocks> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|REOPENED |RESOLVED Resolution|--- |FIXED --- Comment #7 from Dlang Bot <dlang-bot@dlang.rocks> --- dlang/dlang.org pull request #3694 "[spec] First enum member is converted from 0 to base type" was merged into master: - e1cc573c6aabe8619aa94a52f7886d4f4072cc8a by Nick Treleaven: First enum member is converted from 0 to base type Fix Issue 18578 - First enum value assigned 0 instead of EnumBaseType.init. https://github.com/dlang/dlang.org/pull/3694 -- |
Copyright © 1999-2021 by the D Language Foundation