[Issue 17807] Spurious dead code warnings on enum and static variables.
https://issues.dlang.org/show_bug.cgi?id=17807 --- Comment #4 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/e606297c9138747dc71732046547b5a19829fb05 fix Issue 17807 - Spurious dead code warnings on enum and static variables. https://github.com/dlang/dmd/commit/891b53a68f253c22b8b857ca66009d0a1df4c963 Merge pull request #7120 from tgehr/fix17807 --
[Issue 17807] Spurious dead code warnings on enum and static variables.
https://issues.dlang.org/show_bug.cgi?id=17807 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --
[Issue 17807] Spurious dead code warnings on enum and static variables.
https://issues.dlang.org/show_bug.cgi?id=17807 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/e606297c9138747dc71732046547b5a19829fb05 fix Issue 17807 - Spurious dead code warnings on enum and static variables. https://github.com/dlang/dmd/commit/891b53a68f253c22b8b857ca66009d0a1df4c963 Merge pull request #7120 from tgehr/fix17807 fix Issue 17807 - Spurious dead code warnings on enum and static variables. --
[Issue 17807] Spurious dead code warnings on enum and static variables.
https://issues.dlang.org/show_bug.cgi?id=17807 --- Comment #2 from timon.g...@gmx.ch --- https://github.com/dlang/dmd/pull/7120 --
[Issue 17807] Spurious dead code warnings on enum and static variables.
https://issues.dlang.org/show_bug.cgi?id=17807 timon.g...@gmx.ch changed: What|Removed |Added Summary|Spurious dead code warnings |Spurious dead code warnings |with static foreach |on enum and static ||variables. --- Comment #1 from timon.g...@gmx.ch --- Reduced test case: int main(string[] args){ int y=0; import std.conv; switch(args[1].to!int){ { case 0: break; } enum x=0; default: y=x; } return y; } --