[Issue 19214] Support object.destruct() for efficient (and correct!) destruction
https://issues.dlang.org/show_bug.cgi?id=19214 --- Comment #1 from Manu --- https://github.com/dlang/druntime/pull/2292 --
[Issue 19215] New: dlang bot add reference to PR in bugzilla?
https://issues.dlang.org/show_bug.cgi?id=19215 Issue ID: 19215 Summary: dlang bot add reference to PR in bugzilla? Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: dmd Assignee: nob...@puremagic.com Reporter: turkey...@gmail.com There's a bot that notices references to bugzilla issues in PR's, and populates the PR with a bunch of text linking back to bugzilla. There's a recommendation for users to mnaually place a link in the bugzilla issue back to their PR. I think the bot should just automatically create that inverse link too. --
[Issue 19194] version for `-mscrtlib` specification
https://issues.dlang.org/show_bug.cgi?id=19194 --- Comment #3 from Manu --- https://github.com/dlang/dmd/pull/8655 --
[Issue 19214] New: Support object.destruct() for efficient (and correct!) destruction
https://issues.dlang.org/show_bug.cgi?id=19214 Issue ID: 19214 Summary: Support object.destruct() for efficient (and correct!) destruction Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1 Component: druntime Assignee: nob...@puremagic.com Reporter: turkey...@gmail.com Please consider adding an object.destruct() function beside object.destroy() to perform efficient destruction. Not all instances of destruction should pay the code of re-initialisation. Language complexity surrounding destruction makes direct calls to __dtor/__xdtor too complex for the user to understand and implement correctly, as evidenced by a myriad of OSS libs that have attempted, and failed. --
[Issue 7390] Missing switch case fallthrough warning with static foreach
https://issues.dlang.org/show_bug.cgi?id=7390 John Colvin changed: What|Removed |Added CC||john.loughran.colvin@gmail. ||com --- Comment #5 from John Colvin --- Another simple example: void main() { import std.stdio; import std.meta; switch (0) { foreach (i; AliasSeq!(0, 1)) { case i: writeln(i); } default: writeln("other"); } } Compiles fine without deprecations or warnings. This has caught me out multiple times as I expect D to stop me making this mistake. --
[Issue 19213] New: goto skips declaration of variable in std.algorithm.iteration.joiner
https://issues.dlang.org/show_bug.cgi?id=19213 Issue ID: 19213 Summary: goto skips declaration of variable in std.algorithm.iteration.joiner Product: D Version: D2 Hardware: x86_64 OS: Linux Status: NEW Severity: normal Priority: P1 Component: phobos Assignee: nob...@puremagic.com Reporter: arne.lud...@posteo.de The upgrade of libphobos 2.081.2-1 -> 2.082.0-1 on Arch Linux introduced this error. I do not have the time to investigate the error in detail but wanted to report it anyway. Here is the full error message: /usr/include/dlang/dmd/std/algorithm/iteration.d-mixin-2675(2677,31): Error: goto skips declaration of variable std.algorithm.iteration.joiner!(FilterResult!(isAmgiguouslyAlignedRead, ChunkByImpl!(haveEqualIds, FilterResult!(unaryFun, AlignmentChain[].joiner.Result.this.__tmpfordtor3418 at /usr/include/dlang/dmd/std/algorithm/iteration.d-mixin-2675(2687,28) --