Namespace:
> import std.stdio;
>
> int[2] getSize() {
> return [42, 23];
> }
>
> int width() {
> return getSize()[0];
> }
>
> void main()
> {
> writeln("Hello world!");
> }
> ----
>
> Compilation output:
> Internal error: ../ztc/cgcs.c 343
I think this is already fixed in the current dmd 2.063alpha.
Bye,
bearophile