Thread overview
[Issue 14850] Concatenation of static arrays should have compile-time length
[Issue 14850] VRP should work consistently through all array ops
Jul 30, 2015
John Colvin
Jul 31, 2015
Kenji Hara
Dec 17, 2022
Iain Buclaw
Jul 05, 2023
Nick Treleaven
Jul 05, 2023
Nick Treleaven
July 30, 2015
https://issues.dlang.org/show_bug.cgi?id=14850

John Colvin <john.loughran.colvin@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|enhancement                 |regression

--- Comment #1 from John Colvin <john.loughran.colvin@gmail.com> ---
7 and 8 work OK in 2.067.1 but fail in 2.068.0

--
July 31, 2015
https://issues.dlang.org/show_bug.cgi?id=14850

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|regression                  |enhancement

--- Comment #2 from Kenji Hara <k.hara.pg@gmail.com> ---
(In reply to John Colvin from comment #1)
> 7 and 8 work OK in 2.067.1 but fail in 2.068.0

I separated the regression part to issue 14851. Then we can change back this issue to an enhancement.

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

Iain Buclaw <ibuclaw@gdcproject.org> changed:

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

--
July 05, 2023
https://issues.dlang.org/show_bug.cgi?id=14850

Nick Treleaven <nick@geany.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nick@geany.org
            Summary|VRP should work             |Concatenation of static
                   |consistently through all    |arrays should have
                   |array ops                   |compile-time length

--- Comment #3 from Nick Treleaven <nick@geany.org> ---
This is the only remaining case, renamed issue:

> 4)  c = a[] ~ b[]; //No error until runtime

Same goes for `c = a ~ b;`.

--
July 05, 2023
https://issues.dlang.org/show_bug.cgi?id=14850

--- Comment #4 from Nick Treleaven <nick@geany.org> ---
Also, concatenation of static arrays could be allowed with @nogc iff assigned to a static array. Currently that errors.

--