https://issues.dlang.org/show_bug.cgi?id=7492
--- Comment #4 from Kenji Hara <k.hara...@gmail.com> --- (In reply to Denis Shelomovskij from comment #3) > If function is executed during CTFE it's definitely effectively `pure` for > given parameters so I don't understand your arguments. Again, CTFE is not relevant. The OP code just fails to pass semantic analysis. CTFE never runs on invalid code. > Anyway "works with non-character arrays" comment isn't addressed. Event if > this compiler error is an expected behaviour, the issue is in the fact other > types don't produce the same error (try e.g. `int` and `Object` arrays). Is that diagnostic issue? Please file another report. Thanks! --