https://issues.dlang.org/show_bug.cgi?id=23219
RazvanN <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from RazvanN <[email protected]> --- I cannot reproduce the ICE anymore. I get: test.d(9): Error: array cast from `int[4]` to `float[4]` is not supported at compile time test.d(9): while evaluating `pragma(msg, convtest([1, 2, 3, 4])[0])` test.d(11): Error: array cast from `int[4]` to `float[4]` is not supported at compile time test.d(11): while evaluating: `static assert((cast(float[4])convtest([1, 2, 3, 4]))[0] == 1.0F)` It seems that the cast is not supported at ctfe. --
