Thread overview
[Issue 12769] ICE returning array
May 20, 2014
Kenji Hara
May 20, 2014
Kenji Hara
May 20, 2014
Manu
May 20, 2014
Kenji Hara
May 20, 2014
Kenji Hara
May 20, 2014
https://issues.dlang.org/show_bug.cgi?id=12769

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |ice, pull
           Hardware|x86_64                      |All
                 OS|Windows                     |All

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

--
May 20, 2014
https://issues.dlang.org/show_bug.cgi?id=12769

--- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> ---
(In reply to Manu from comment #0)
> requiring a[] causes a to become a dynamic array, and then it can't be assigned back to a static array anymore. It all goes south for array operations on static arrays with [].

In my humble opinion, if the boundaries of an array operation could be known at compile-time, the array-op result should be convertible to static array type.

Could you file it as a new enhancement issue?

--
May 20, 2014
https://issues.dlang.org/show_bug.cgi?id=12769

--- Comment #3 from Manu <turkeyman@gmail.com> ---
Issue #12770 (https://issues.dlang.org/show_bug.cgi?id=12770)

--
May 20, 2014
https://issues.dlang.org/show_bug.cgi?id=12769

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |regression

--- Comment #4 from Kenji Hara <k.hara.pg@gmail.com> ---
This is a regression issue from 2.065.

--
May 20, 2014
https://issues.dlang.org/show_bug.cgi?id=12769

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

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

--- Comment #5 from Kenji Hara <k.hara.pg@gmail.com> ---
*** Issue 12772 has been marked as a duplicate of this issue. ***

--
May 20, 2014
https://issues.dlang.org/show_bug.cgi?id=12769

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

https://github.com/D-Programming-Language/dmd/commit/1345532ca75a0b0f041941f3b6a6f58fe9a25aec fix Issue 12769 - ICE returning array

https://github.com/D-Programming-Language/dmd/commit/caa9c184fa2fa566d817dbccc6827a5e2f810884 Merge pull request #3559 from 9rnsr/fix12769

[REG2.065] Issue 12769 - ICE returning array

--