https://issues.dlang.org/show_bug.cgi?id=6813
Andrei Alexandrescu changed:
What|Removed |Added
Version|unspecified |D2
--
http://d.puremagic.com/issues/show_bug.cgi?id=6813
--- Comment #1 from Trass3r 2011-10-17 17:46:33 PDT ---
Created an attachment (id=1040)
DustMite'd testcase
FWIW here's a DustMite reduced testcase that gives one of the errors.
test.d(26): Error: function
test.Indexed!(void[],SortedRange!(vo
http://d.puremagic.com/issues/show_bug.cgi?id=6813
Walter Bright changed:
What|Removed |Added
CC||bugzi...@digitalmars.com
--- Comment #
http://d.puremagic.com/issues/show_bug.cgi?id=6813
--- Comment #3 from Walter Bright 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;
http://d.puremagic.com/issues/show_bug.cgi?id=6813
--- Comment #4 from Walter Bright 2011-10-21
01:40:51 PDT ---
https://github.com/D-Programming-Language/dmd/commit/3924e924c4c8d7e025efb37f9753927c5ee167f4
https://github.com/D-Programming-Language/dmd/commit/38c9b7ab70ccc061f6dad0c6b8ac0b8af
http://d.puremagic.com/issues/show_bug.cgi?id=6813
Walter Bright changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|