http://d.puremagic.com/issues/show_bug.cgi?id=4414
Andrej Mitrovic <andrej.mitrov...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrej.mitrov...@gmail.com --- Comment #2 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2010-08-29 19:52:03 PDT --- This passes: import std.stdio : writeln; int[1] foo() { return [0]; } void main() { int x = foo()[0]; writeln(typeid(x)); // writes int //~ writeln(x); } But if I uncomment the last line then I get a different error: Internal error: ..\ztc\cod2.c 4494 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------