Thread overview | |||||
---|---|---|---|---|---|
|
September 20, 2017 [Issue 16779] VRP for array literals does not work with templated functions taking a static array if the size is inferred | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16779 timon.gehr@gmx.ch changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |timon.gehr@gmx.ch Severity|enhancement |normal -- |
February 15, 2018 [Issue 16779] VRP for array literals does not work with templated functions taking a static array if the size is inferred | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16779 Timothee Cour <timothee.cour2@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |timothee.cour2@gmail.com --- Comment #1 from Timothee Cour <timothee.cour2@gmail.com> --- same problem with tuples U[T.length] staticArray(U = CommonType!T, T...)(T a) { return [a]; } auto a = staticArray2!bute(1, 2); Error: cannot implicitly convert expression [_param_0, _param_1] of type int[] to byte[2] -- |
December 17, 2022 [Issue 16779] VRP for array literals does not work with templated functions taking a static array if the size is inferred | ||||
---|---|---|---|---|
| ||||
https://issues.dlang.org/show_bug.cgi?id=16779 Iain Buclaw <ibuclaw@gdcproject.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P1 |P3 -- |
Copyright © 1999-2021 by the D Language Foundation