Bug 24698 – Appender needs to expose readonly property 'size_t length' without using 'data' property

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
phobos
Product
D
Version
D2
Platform
All
OS
All
Creation time
2024-08-08T02:09:43Z
Last change time
2024-08-08T22:32:31Z
Keywords
pull
Assigned to
No Owner
Creator
apham

Comments

Comment #0 by apz28 — 2024-08-08T02:09:43Z
Comment #1 by dlang-bot — 2024-08-08T18:32:56Z
@ntrel created dlang/phobos pull request #9044 "Fix Bugzilla 24698 - Appender needs to expose readonly property 'size…" fixing this issue: - Fix Bugzilla 24698 - Appender needs to expose readonly property 'size_t length' without using 'data' property Add `length` property rather than `app[].length`. Also remove `@trusted` attribute from `@safe` function. https://github.com/dlang/phobos/pull/9044
Comment #2 by dlang-bot — 2024-08-08T22:32:31Z
dlang/phobos pull request #9044 "Fix Bugzilla 24698 - Appender needs to expose readonly property 'size…" was merged into master: - ef4836a7be496ff0a5515968a78e8a5bd536181b by Nick Treleaven: Fix Bugzilla 24698 - Appender needs to expose readonly property 'size_t length' without using 'data' property Add `length` property rather than `app[].length`. Also remove `@trusted` attribute from `@safe` function. https://github.com/dlang/phobos/pull/9044