On Tue, 24 Oct 2017 07:21:15 GMT, Alexey Kulentsov wrote:

On Mon, 23 Oct 2017 23:05:42 GMT, Sönke Ludwig wrote:

void fn(const Task task)
{
    ...
    taskIdToStore = task.tid.toString;
    ....
}

and can't because of 'mutable method vibe.core.task.Task.tid is not callable using a const object'

The method itself can be made inout, but the problem is that, AFAICS, a const(Tid) isn't usable for sending or receiving messages either.
Yes, I understand. But it still can be useful if I want only to collect tasks ID's to use it in another place.

Added:
https://github.com/vibe-d/vibe.d/commit/c50c962748e4ec6d62cfa532fa0a03827bbfcd5d
https://github.com/vibe-d/vibe-core/commit/874e174d38be6520f301453f75e4660dc5b158c3