[Issue 3652] Allow explicit and implicit casting of dynamic array slices of known size to static array

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Mar 2 11:12:59 PST 2013


http://d.puremagic.com/issues/show_bug.cgi?id=3652



--- Comment #4 from github-bugzilla at puremagic.com 2013-03-02 11:12:56 PST ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd

https://github.com/D-Programming-Language/dmd/commit/82b79c071c9ca13785e16c9faea901fa2c45531e
partial fix Issue 3652 - Allow explicit and implicit casting of dynamic array
slices of known size to static array

If and only if both side of slice boundaries can be constant-folded, the
conversion will succeed.

Limitation:
- Does not run CTFE.
- There is no deformation of formula.

https://github.com/D-Programming-Language/dmd/commit/e74670edbf1e013da748342a83909e2bce65d993
Merge pull request #1705 from 9rnsr/ct_slice

partial fix Issue 3652 - Allow explicit and implicit casting of dynamic array
slices of known size to static array

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list