shared and cryptic error messages

KennyTM~ kennytm at gmail.com
Wed Mar 30 16:14:08 PDT 2011


On Mar 31, 11 06:34, Jason House wrote:
> he compiler wants "argument types () shared" instead of "argument types ()". It's an awful error message, and I'm certain I filed a bug for it at least a year ago. In the toy example, mark the destructor as shared, and it should compile.

Yes you have. http://d.puremagic.com/issues/show_bug.cgi?id=3642

Your solution works only if OP wills to dig into Phobos and add a shared 
destructor to File.


More information about the Digitalmars-d mailing list