Example:
```
enum b = f();
int[4] f() {
int[4] x = [1,2,3,4] * [1,2,3,4];
return x;
}
```
f() works fine at runtime, but fails during CTFE with `Error: variable x cannot be read at compile time`.
Looking at the -vcg-ast output, it becomes clear why: `int[4] x = arrayOp(x[], [1, 2, 3, 4], [1, 2, 3, 4]);`. The presence of x in that statement is illegal.
Comment #1 by robert.schadek — 2024-12-13T19:10:31Z