Bug 24868 – Undocumented cast from struct to static array

Status
RESOLVED
Resolution
FIXED
Severity
enhancement
Priority
P1
Component
dlang.org
Product
D
Version
D2
Platform
x86_64
OS
Linux
Creation time
2024-11-20T11:59:29Z
Last change time
2024-11-20T12:22:54Z
Keywords
pull
Assigned to
No Owner
Creator
Nick Treleaven

Comments

Comment #0 by nick — 2024-11-20T11:59:29Z
Casting a struct to a static array is shown in issue 6092 and issue 24866, but it doesn't appear in the spec: https://dlang.org/spec/expression.html#cast_expressions PR incoming.
Comment #1 by dlang-bot — 2024-11-20T12:01:16Z
@ntrel created dlang/dlang.org pull request #3926 "Fix Bugzilla Issue 24868 - Undocumented cast from struct to static array" fixing this issue: - Fix Bugzilla Issue 24868 - Undocumented cast from struct to static array https://github.com/dlang/dlang.org/pull/3926
Comment #2 by dlang-bot — 2024-11-20T12:22:54Z
dlang/dlang.org pull request #3926 "Fix Bugzilla Issue 24868 - Undocumented cast from struct to static array" was merged into master: - e2c1601e6b10b5129a42056b7d448291dcec34c1 by Nick Treleaven: Fix Bugzilla Issue 24868 - Undocumented cast from struct to static array https://github.com/dlang/dlang.org/pull/3926