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

--- Comment #0 from Dmitry Olshansky <> 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()

dmd output:

Error: safe function 'f' cannot call system function 'writeln'

This is on dmd 2.055 release.

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

Reply via email to