Thread overview
[Issue 13700] Rejected valid conversion from slice to fixed size array
Dec 10, 2014
Kenji Hara
Dec 10, 2014
Kenji Hara
Dec 17, 2022
Iain Buclaw
Jan 08, 2024
Dennis
December 10, 2014
https://issues.dlang.org/show_bug.cgi?id=13700

Kenji Hara <k.hara.pg@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull
           Hardware|x86                         |All
                 OS|Windows                     |All

--- Comment #1 from Kenji Hara <k.hara.pg@gmail.com> ---
https://github.com/D-Programming-Language/dmd/pull/4209

--
December 10, 2014
https://issues.dlang.org/show_bug.cgi?id=13700

--- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> ---
(In reply to Kenji Hara from comment #1)
> https://github.com/D-Programming-Language/dmd/pull/4209

Handle following slice forms:

arr[e1-b .. e2]    (length = a)
arr[e1 .. e2+b]    (length = b)
arr[e1-a .. e2+b]  (length = a + b)
arr[e1+a .. e2+b]  (length = b - a, if a <= b)
arr[e1-a .. e2-b]  (length = a - b, if a >= b)

Requires:
1. 'e1' and 'e2' are equivalent expression that have no side effects.
2. 'a' and 'b' are (const-folded) constants.

--
January 11, 2015
https://issues.dlang.org/show_bug.cgi?id=13700

--- Comment #3 from github-bugzilla@puremagic.com ---
Commits pushed to master at https://github.com/D-Programming-Language/dlang.org

https://github.com/D-Programming-Language/dlang.org/commit/b6765d4729ddefaa607cc0af39e9fd74305ebd76 Issue 13700 - Rejected valid conversion from slice to fixed size array

https://github.com/D-Programming-Language/dlang.org/commit/603afb6809eae00f4c48ccc8a1e435242e2b9f0b Merge pull request #727 from 9rnsr/fix13700

Issue 13700 - Rejected valid conversion from slice to fixed size array

--
December 17, 2022
https://issues.dlang.org/show_bug.cgi?id=13700

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P1                          |P4

--
January 08, 2024
https://issues.dlang.org/show_bug.cgi?id=13700

Dennis <dkorpel@live.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |turkeyman@gmail.com

--- Comment #4 from Dennis <dkorpel@live.nl> ---
*** Issue 24323 has been marked as a duplicate of this issue. ***

--