[Issue 6804] New: shared File doesn't compile
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Oct 11 22:37:21 PDT 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 at puremagic.com
ReportedBy: jlquinn at optonline.net
--- Comment #0 from Jerry Quinn <jlquinn at 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: -------
More information about the Digitalmars-d-bugs
mailing list