http://d.puremagic.com/issues/show_bug.cgi?id=8627
Summary: Internal error: ../ztc/cgcs.c 343 Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: blocker Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: blo...@hotmail.com --- Comment #0 from Christopher Crouzet <blo...@hotmail.com> 2012-09-07 01:44:05 PDT --- The code below errors with an internal error: // ------------------------------ import std.stdio; class Test { public: auto whatever() { float[1] tmp; return tmp; } } void main() { auto test = new Test; writeln( test.whatever()[0] ); } // ------------------------------ This looks quite simple, hopefully I'm not doing anything wrong? It's working when I initialize tmp with a size of at least 3 elements. Cheers, Christopher. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------