[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:36:38 PDT 2010


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



--- Comment #3 from Tim Keating <itsallaboutthedyo at gmail.com> 2010-08-25 21:36:31 PDT ---
... and that if might want to be a static if also. I'm not sure why straight
"if" wasn't working for me, but it was not successfully evaluating the
comparison, so it would still get into the inner block when i == T.length-1
(confirmed by doing a static assert (i != T.length-1), which failed). Changing
that to a static if seemed to make it work, however.

-- 
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