Summary: shared File doesn't compile
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos

--- Comment #0 from Jerry Quinn <> 2011-10-11 22:36:30 PDT 
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

Configure issuemail:
------- You are receiving this mail because: -------

Reply via email to