[Issue 13775] [REG2.067a] Broken explicit casting of dynamic array slices of known size to static array of different type

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Fri Dec 5 18:41:28 PST 2014


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

--- Comment #13 from github-bugzilla at puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/0b77f0d79c2c7f5949804483221c3f47d2bbf101
fix Issue 13775 - Broken explicit casting of dynamic array slices of known size
to static array of different type

Support reinterpret-cast from a CT-known boundaries slice expression that can
be implicitly typed as `T[n]` to another static array type `U[m]`, iff their
sizes are same (`T[n].sizeof == U[m].sizeof`).

https://github.com/D-Programming-Language/dmd/commit/0a92f21363f8fd24ef3bd293673219597d17338b
Merge pull request #4193 from 9rnsr/fix13775

[REG2.067a] Issue 13775 - Broken explicit casting of dynamic array slices of
known size to static array of different type

--


More information about the Digitalmars-d-bugs mailing list