Thread overview
[Issue 6804] New: shared File doesn't compile
Oct 12, 2011
Jerry Quinn
May 01, 2012
SomeDude
Jul 20, 2013
John Colvin
October 12, 2011
http://d.puremagic.com/issues/show_bug.cgi?id=6804

           Summary: shared File doesn't compile
           Product: D
           Version: D2
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Phobos
        AssignedTo: nobody@puremagic.com
        ReportedBy: jlquinn@optonline.net


--- Comment #0 from Jerry Quinn <jlquinn@optonline.net> 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: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
May 01, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=6804


SomeDude <lovelydear@mailmetrash.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lovelydear@mailmetrash.com
           Severity|normal                      |minor


-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
July 20, 2013
http://d.puremagic.com/issues/show_bug.cgi?id=6804


John Colvin <john.loughran.colvin@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |john.loughran.colvin@gmail.
                   |                            |com


--- Comment #1 from John Colvin <john.loughran.colvin@gmail.com> 2013-07-20 21:54:46 BST ---
Just ran in to this.

Is there any sensible way to be able to create a shared File object?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------