http://d.puremagic.com/issues/show_bug.cgi?id=10317
Summary: Regression (2.063): Recursive error within Phobos Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: regression Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: andrej.mitrov...@gmail.com --- Comment #0 from Andrej Mitrovic <andrej.mitrov...@gmail.com> 2013-06-09 07:21:42 PDT --- ----- module test; import std.algorithm; struct Set(E) { E[] sortedElements() inout { E[] elems = payload.keys; sort(elems); // Causes error return elems; } int[E] payload; } enum E { a, b } struct S { Set!E e; } void main() { S s; } ----- 2.062: $ dmd test.d 2.063 $ dmd test.d C:\DMD\dmd2\windows\bin\..\..\src\phobos\std\format.d(2009): Error: template instance std.traits.CharTypeOf!(E) recursive expansion -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------