[Issue 24498] Multidimensional array not scanned by GC

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Apr 19 20:13:33 UTC 2024


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #3 from Dlang Bot <dlang-bot at dlang.rocks> ---
dlang/dmd pull request #16400 "Fix bugzilla 24498 - Multidimensional array not
scanned by GC" was merged into stable:

- f39cc10ef9b4d3e92d0172a41e6b9515de0ba8d0 by Tim Schendekehl:
  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