Compiling the following:
import std.stdio;
shared File f;
gives this error:
~/dmd2/linux/bin64/dmd junk1.d
junk1.d(2): Error: destructor std.stdio.File.~this () is not callable using argument types ()
Even if File should not be shareable, the error message is non-informative.
DMD 2.055, Linux 64 bit, on Ubuntu 10.04
Comment #1 by john.loughran.colvin — 2013-07-20T13:54:46Z
Just ran in to this.
Is there any sensible way to be able to create a shared File object?
Comment #2 by atila.neves — 2018-01-27T12:19:29Z
*** This issue has been marked as a duplicate of issue 8295 ***