D issues are now tracked on GitHub. This Bugzilla instance remains as a read-only archive.
Issue 22141 - Property .capacity is not listed in the array properties section
Summary: Property .capacity is not listed in the array properties section
Status: RESOLVED FIXED
Alias: None
Product: D
Classification: Unclassified
Component: dlang.org (show other issues)
Version: D2
Hardware: x86 Windows
: P1 enhancement
Assignee: No Owner
URL:
Keywords: pull
Depends on:
Blocks:
 
Reported: 2021-07-24 11:05 UTC by paultjeadriaanse
Modified: 2022-09-28 17:23 UTC (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description paultjeadriaanse 2021-07-24 11:05:14 UTC
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 Don Allen 2022-07-25 14:18:02 UTC
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 RazvanN 2022-07-29 08:13:43 UTC
PR: https://github.com/dlang/dlang.org/pull/3356
Comment 3 Dlang Bot 2022-08-12 08:16:28 UTC
@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 Dlang Bot 2022-09-28 17:23:48 UTC
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