Thread overview
[Issue 6092] Can't cast primitive to same-sized static array
Jun 22, 2015
Kenji Hara
May 29, 2018
Dmitry Olshansky
Feb 20, 2020
Basile-z
Dec 17, 2022
Iain Buclaw
June 22, 2015
https://issues.dlang.org/show_bug.cgi?id=6092

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|rejects-valid               |
           Severity|normal                      |enhancement

--- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> ---
>From the past, DMD glue layer does not support a cast from primitive type to
static array. And from 2.065, it's changed to semantic error.

Therefore, the rejection is intentional. Downgrade to enhancement issue.

--
May 29, 2018
https://issues.dlang.org/show_bug.cgi?id=6092

Dmitry Olshansky <dmitry.olsh@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dmitry.olsh@gmail.com

--
February 20, 2020
https://issues.dlang.org/show_bug.cgi?id=6092

Basile-z <b2.temp@gmx.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |issues.dlang@jmdavisProg.co
                   |                            |m

--- Comment #3 from Basile-z <b2.temp@gmx.com> ---
*** Issue 7328 has been marked as a duplicate of this issue. ***

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

Iain Buclaw <ibuclaw@gdcproject.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P4

--