[Issue 24583] di generator emits return scope and scope return in wrong order
https://issues.dlang.org/show_bug.cgi?id=24583 Dlang Bot changed: What|Removed |Added Status|NEW |RESOLVED Resolution|--- |FIXED --- Comment #2 from Dlang Bot --- dlang/dmd pull request #16595 "Fix bugzilla 24583 - di generator emits return scope and scope return…" was merged into master: - d77327ff35452958c5412811393f6d6d0bbdd574 by Dennis Korpel: Fix bugzilla 24583 - di generator emits return scope and scope return in wrong order https://github.com/dlang/dmd/pull/16595 --
[Issue 24617] New: array runtime erroneously copies flags from existing block
https://issues.dlang.org/show_bug.cgi?id=24617 Issue ID: 24617 Summary: array runtime erroneously copies flags from existing block Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: minor Priority: P1 Component: druntime Assignee: nob...@puremagic.com Reporter: schvei...@gmail.com If an array slice starts from a GC allocated block that is *not* marked appendable, the appendable flag never gets set until appending occurs. example: ```d struct S { int[1] val; } void main() { auto s = new S; int[] arr = s.val[]; assert(arr.capacity == 0); // starts out without appendability arr.length = 2; assert(arr.capacity > 0); // this fails arr.reserve(100); assert(arr.capacity > 0); // this fails arr ~= 10; assert(arr.capacity > 0); // finally, this succeeds } ``` The issue is that the `__arrayAlloc` function copies the original bits instead of using the typeinfo to decide the new array bits if a BlkInfo has already been looked up. I guess the thought is that using the TypeInfo to build the bits is more expensive, and we "already have something". Options are to just always use the typeinfo, or to check for the appendable bit before using the old bits (but copying the other bits might be questionable as well). --
[Issue 24616] spam
https://issues.dlang.org/show_bug.cgi?id=24616 anonymous4 changed: What|Removed |Added Status|NEW |RESOLVED URL|https://www.veronapress.com | |/contributed/thc-gummies-to | |p-5-weed-edibles-reviewed/a | |rticle_dff5ffae-f1cb-11ee-a | |555-23b82b574988.html | Resolution|--- |MOVED Summary|THC Gummies |spam --
[Issue 24616] THC Gummies
https://issues.dlang.org/show_bug.cgi?id=24616 THC Gummies changed: What|Removed |Added URL||https://www.veronapress.com ||/contributed/thc-gummies-to ||p-5-weed-edibles-reviewed/a ||rticle_dff5ffae-f1cb-11ee-a ||555-23b82b574988.html --