Maybe: immutable(int[]) foo(in int[] x) pure { return new immutable(int[1]); }
void main() {} Or does this have something to do with implicit casts to immutable for pure functions? I'm only vaguely familiar with pure..
Maybe: immutable(int[]) foo(in int[] x) pure { return new immutable(int[1]); }
void main() {} Or does this have something to do with implicit casts to immutable for pure functions? I'm only vaguely familiar with pure..