std.concurrency : sending immutable classes

Dejan Lekic dejan.lekic at gmail.com
Mon Nov 11 15:25:24 PST 2013


Could it be something changed in DMD recently, as in my case (DMD64 D 
Compiler v2.063.2, on Fedora GNU/Linux) it obviously picks Variant. Why 
it does not pick the immutable instance of A is beyond me. If we reverse 
the order of arguments in the receive(), we will get the "function with 
arguments (VariantN!(32LU)) occludes successive function" error...


More information about the Digitalmars-d-learn mailing list