Hmmm... Following your example i'm still having problems compiling this simple snippet:

import std.stdio;

class Example
{
        private FILE _file;

        public this(string file)
        {
                this._file = File(file, "r");
        }
}

Error:

test.d(9): Error: cannot implicitly convert expression ((File __ctmp1220 = 0;
 , __ctmp1220).this(file, "r")) of type File to shared(_iobuf)

Reply via email to