[Issue 20468] New: emplace doesn't forward constructor arguments' (l/r)valueness
https://issues.dlang.org/show_bug.cgi?id=20468 Issue ID: 20468 Summary: emplace doesn't forward constructor arguments' (l/r)valueness Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: normal Priority: P1 Component: druntime Assignee: nob...@puremagic.com Reporter: sahmi.soulaim...@gmail.com `core.lifetime.emplace` always forwards constructor arguments by ref. example: ``` import core.lifetime : emplace; import std.stdio; struct A {} struct B { this()(auto ref A a) { static if (__traits(isRef, a)) writeln("copy"); else writeln("move"); } } void main() { B obj = void; A a; emplace(&obj, a); emplace(&obj, A()); } ``` output: --- copy copy --- expected output: --- copy move --- --
[Issue 5232] [patch] std.conv.to & std.conv.roundTo report invalid overflows for very large numbers
https://issues.dlang.org/show_bug.cgi?id=5232 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #4 from Dlang Bot --- @berni44 created dlang/phobos pull request #7334 "Fix Issue 5232 - [patch] std.conv.to & std.conv.roundTo report invalid overflows for very large numbers" fixing this issue: - Fix Issue 5232 - [patch] std.conv.to & std.conv.roundTo report invalid overflows for very large numbers https://github.com/dlang/phobos/pull/7334 --
[Issue 16705] [REG2.069] TaskPool.reduce fails to compile "cannot get frame pointer to D main"
https://issues.dlang.org/show_bug.cgi?id=16705 berni44 changed: What|Removed |Added CC||bugzi...@d-ecke.de --- Comment #11 from berni44 --- Not sure, if this helps. With the help of dustmite I reduced the example and Phobos to the following code: --- void main() { TaskPool pool; pool.reduce(map!(a=>1)); } struct Task(Args) { Args a; } struct TaskPool { auto reduce(Args)(Args args) { return Task!(typeof(args))(); } } auto map(fun...)() { return MapResult!fun(); } struct MapResult(alias fun) { void x() {} } --- --
[Issue 11488] Disallow chaining of - operator
https://issues.dlang.org/show_bug.cgi?id=11488 berni44 changed: What|Removed |Added CC||bugzi...@d-ecke.de Component|dlang.org |dmd --
[Issue 15449] CSS and JS files should be minified
https://issues.dlang.org/show_bug.cgi?id=15449 berni44 changed: What|Removed |Added CC||bugzi...@d-ecke.de Summary|CSS and JS files should be |CSS and JS files should be |minified and concatenated |minified --- Comment #3 from berni44 --- Removed the concatenation here, because else it looks like a duplicate. --
[Issue 19546] cannot implicitly override base class method [...] add override attribute
https://issues.dlang.org/show_bug.cgi?id=19546 berni44 changed: What|Removed |Added CC||bugzi...@d-ecke.de Hardware|x86_64 |All OS|Linux |All Severity|enhancement |normal --
[Issue 19459] 500 Internal Server Error when I search for "build" on the dub repository
https://issues.dlang.org/show_bug.cgi?id=19459 berni44 changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@d-ecke.de Hardware|x86 |All Resolution|--- |WORKSFORME OS|Mac OS X|All Severity|enhancement |normal --- Comment #1 from berni44 --- seems to be fixed... --
[Issue 15197] Allow allocator_list to work with allocators that do not support `expand()`
https://issues.dlang.org/show_bug.cgi?id=15197 berni44 changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@d-ecke.de Resolution|--- |WORKSFORME --
[Issue 19693] core.bitop.bitswap fails to compile with -inline
https://issues.dlang.org/show_bug.cgi?id=19693 Daniel Kozak changed: What|Removed |Added CC||kozz...@gmail.com --
[Issue 7446] [TDPL] Trivial asynchronous file copy example crashes with OwnerTerminated
https://issues.dlang.org/show_bug.cgi?id=7446 Dlang Bot changed: What|Removed |Added Keywords||pull --- Comment #3 from Dlang Bot --- @berni44 created dlang/phobos pull request #7333 "Fix Issue 7446 - [TDPL] Trivial asynchronous file copy example crashes" fixing this issue: - Fix Issue 7446 - [TDPL] Trivial asynchronous file copy example crashes with OwnerTerminated https://github.com/dlang/phobos/pull/7333 --
[Issue 7446] [TDPL] Trivial asynchronous file copy example crashes with OwnerTerminated
https://issues.dlang.org/show_bug.cgi?id=7446 berni44 changed: What|Removed |Added CC||bugzi...@d-ecke.de --- Comment #2 from berni44 --- I can't find the original documentation about runtime anymore, but IMHO the receive-functions should mention the exception OwnerTerminated in its documentation. I'll file a PR. --
[Issue 19012] `scoped` crashes when instantiating an object with `alias this`
https://issues.dlang.org/show_bug.cgi?id=19012 berni44 changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@d-ecke.de Resolution|--- |WORKSFORME --- Comment #1 from berni44 --- Seems to be fixed since about 2.084. --
[Issue 16711] unittest writefln
https://issues.dlang.org/show_bug.cgi?id=16711 berni44 changed: What|Removed |Added Status|NEW |RESOLVED CC||bugzi...@d-ecke.de Resolution|--- |WORKSFORME --- Comment #2 from berni44 --- The behaviour of dmd regarding unittests changed in version 2.091. IMHO this isn't a problem anymore. --