Thread overview | |||||||
---|---|---|---|---|---|---|---|
|
August 23, 2014 [Issue 13362] DMD accepts body-less switch | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13362 yebblies <yebblies@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yebblies@gmail.com --- Comment #1 from yebblies <yebblies@gmail.com> --- These are unfortunately valid, and relied upon for this: switch(...) with(...) { } -- |
August 23, 2014 [Issue 13362] DMD accepts body-less switch | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13362 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ibuclaw@gdcproject.org --- Comment #2 from Iain Buclaw <ibuclaw@gdcproject.org> --- (In reply to yebblies from comment #1) > These are unfortunately valid, and relied upon for this: > > switch(...) with(...) > { > } Any other valid cases? It might seem reasonable to clamp down on just what is accepted. Also accepted code. switch(ch) with(obj) return; -- |
January 04, 2021 [Issue 13362] DMD accepts body-less switch | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13362 Basile-z <b2.temp@gmx.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |b2.temp@gmx.com --- Comment #3 from Basile-z <b2.temp@gmx.com> --- switch (a) static foreach (c, list) case c: mixin(gencodefor!c); -- |
December 17, 2022 [Issue 13362] DMD accepts body-less switch | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13362 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
December 13 [Issue 13362] DMD accepts body-less switch | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=13362 --- Comment #4 from dlangBugzillaToGithub <robert.schadek@posteo.de> --- THIS ISSUE HAS BEEN MOVED TO GITHUB https://github.com/dlang/dmd/issues/18872 DO NOT COMMENT HERE ANYMORE, NOBODY WILL SEE IT, THIS ISSUE HAS BEEN MOVED TO GITHUB -- |
Copyright © 1999-2021 by the D Language Foundation