http://d.puremagic.com/issues/show_bug.cgi?id=6813
--- Comment #3 from Walter Bright <bugzi...@digitalmars.com> 2011-10-20 20:21:45 PDT --- It shrinks down to this. Compile with -inline: struct Foo(T) { Foo opSlice(size_t a, size_t b) { return Foo(_indices[a..b]); } T _indices; } struct SortedRange(alias pred) { SortedRange opSlice(size_t a, size_t b) { return SortedRange(); } } void main() { auto ind = SortedRange!({ })(); auto a = Foo!(typeof(ind))(); } It happens on Windows, too, and is not a backend bug. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------