https://issues.dlang.org/show_bug.cgi?id=16705

--- Comment #13 from [email protected] ---
Simplified test case of the issue itself:

```d
void main()
{   import std.parallelism;

    struct MyIota
    { size_t front;
      void popFront(){front++;}
      auto empty(){return front >= 100;}
      auto opIndex(size_t i){return front+i;}
      auto length(){return 100-front;}
    }

    auto mySum = taskPool.reduce!"a + b"(MyIota());
}
```

--

Reply via email to