http://d.puremagic.com/issues/show_bug.cgi?id=6644
Summary: std.stdio write/writef(ln) are not @trusted Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal Priority: P2 Component: Phobos AssignedTo: nob...@puremagic.com ReportedBy: dmitry.o...@gmail.com --- Comment #0 from Dmitry Olshansky <dmitry.o...@gmail.com> 2011-09-11 09:49:00 PDT --- Surely @safe code should be able to write/read data via File. Test case: import std.stdio; @safe void f() { writeln("Hello!"); } dmd output: Error: safe function 'f' cannot call system function 'writeln' This is on dmd 2.055 release. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ------- You are receiving this mail because: -------