[Issue 12769] ICE returning array

via Digitalmars-d-bugs digitalmars-d-bugs at puremagic.com
Mon May 19 20:49:23 PDT 2014


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

--- Comment #2 from Kenji Hara <k.hara.pg at 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?

--


More information about the Digitalmars-d-bugs mailing list