I'm sending an exception from a worker thread to the owner thread
to be logged/printed. Using DMD64 D Compiler v2.064
http://dpaste.dzfl.pl/7c8b68bd
Using std.concurrency prevents me from passing a naked Exception.
So the owner receives either a shared or immutable Exception.
I can't format a
I just wanted to add that the can't format immutable Exception
also prevents me from doing this:
auto exception = receiveOnly!(immutable Exception)();
because receiveOnly creates a tuple which implements a toString
that uses indirectly uses formatObject. So I'm forced to use the
slightly