[Issue 24498] Multidimensional array not scanned by GC

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 19 18:53:39 UTC 2024


https://issues.dlang.org/show_bug.cgi?id=24498

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@tim-dlang created dlang/dmd pull request #16400 "Fix bugzilla 24498 -
Multidimensional array not scanned by GC" fixing this issue:

- Fix bugzilla 24498 - Multidimensional array not scanned by GC

  For expression `new int[][][](2, 2)` the relevant element type is
  `int[]` and not `int`, because only two dimensions are allocated.

https://github.com/dlang/dmd/pull/16400

--


More information about the Digitalmars-d-bugs mailing list