Re: "is not callable using a non-shared object"

2015-12-11 Thread Kagamin via Digitalmars-d-learn
On Thursday, 10 December 2015 at 22:07:48 UTC, Entity325 wrote: Usually the DMD compiler errors are very helpful, but I guess nothing can be perfect. In this case, I have a class I'm trying to declare. The class is intended to be a transport and storage medium, to allow information to be passed

Re: "is not callable using a non-shared object"

2015-12-10 Thread Ali Çehreli via Digitalmars-d-learn
ing. > My problem is: every time I try to declare a shared object in D from a > non-shared memory space, I get a compiler error: [object] is not callable > using a non-shared object. Instead of "[object]", the message actually contains a member function name, right? If so,

"is not callable using a non-shared object"

2015-12-10 Thread Entity325 via Digitalmars-d-learn
e tools in std.parallelism don't work either. My problem is: every time I try to declare a shared object in D from a non-shared memory space, I get a compiler error: [object] is not callable using a non-shared object. This is really the only bad or ambiguous error warning I've ever seen in