Philippe Sigaud wrote:


On Mon, Mar 8, 2010 at 13:00, Lars T. Kyllingstad <pub...@kyllingen.nospamnet> wrote:

    It's definitely a bug.  I've reported it:

    http://d.puremagic.com/issues/show_bug.cgi?id=3894


std.range use ref everywhere. I had to comment them out to get any composition to work. But the 'auto ref' feature added a release ago was made to solve this problem, I guess. Full-blown propagation of ref when you can have it, graceful stop when you cannot.

Hmm, I should try this as soon as I won't have a baby sleeping on me...


Hm, changing "ref" on lines 716 and 724 to "auto ref" changes nothing. Changing it to simply "auto" seems to solve problem.

How "auto ref" feature is supposed to work? This ( http://www.digitalmars.com/d/2.0/function.html ) description tends to match problem with stride, but as I have just said, it gives same error.

Reply via email to