Adding a shared dtor to File doesn't sound like the correct solution.
On Wed, Mar 30, 2011 at 8:14 PM, KennyTM~ <[email protected]> wrote: > 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. >
