Bug 22141 – Property .capacity is not listed in the array properties section

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
x86
OS
Windows
Creation time
2021-07-24T11:05:14Z
Last change time
2022-09-28T17:23:48Z
Keywords
pull
Assigned to
No Owner
Creator
paultjeadriaanse

Comments

Comment #0 by paultjeadriaanse — 2021-07-24T11:05:14Z
Under 12.13 - 2 (Dynamic Array Properties ) the .capacity property is not listed, even though it is mentioned in 12.13.1 - 5 (Setting Dynamic Array Length) See: https://dlang.org/spec/arrays.html#array-length
Comment #1 by donaldcallen1942 — 2022-07-25T14:18:02Z
I just ran across this and was about to report it, but found this existing report. Disappointing to see that something as simple to fix as this has not been taken care of almost exactly a year later.
Comment #2 by razvan.nitu1305 — 2022-07-29T08:13:43Z
Comment #3 by dlang-bot — 2022-08-12T08:16:28Z
@RazvanN7 updated dlang/dlang.org pull request #3356 "Fix Issue 22141 - Property .capacity is not listed in the array prope…" fixing this issue: - Fix Issue 22141 - Property .capacity is not listed in the array properties https://github.com/dlang/dlang.org/pull/3356
Comment #4 by dlang-bot — 2022-09-28T17:23:48Z
dlang/dlang.org pull request #3356 "Fix Issue 22141 - Property .capacity is not listed in the array prope…" was merged into master: - 4ab0ac795fb65a083e4de9f8b7b38c4385f20920 by RazvanN7: Fix Issue 22141 - Property .capacity is not listed in the array properties https://github.com/dlang/dlang.org/pull/3356