[Issue 4727] Passing std.concurrency.receive() a function of type Variant causes a static assert

d-bugmail at puremagic.com d-bugmail at puremagic.com
Wed Aug 25 21:20:38 PDT 2010


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



--- Comment #2 from Tim Keating <itsallaboutthedyo at gmail.com> 2010-08-25 21:20:31 PDT ---
Ah, it's an off-by-one error. The index is 0-based, but T.length is 1-based.
That expression should be:

if ( i < T.length-1 )

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list