Swift: Does this crash for you?

For me, this works in compiled apps but dies in playgrounds. What about you?

public struct StderrStream : OutputStreamType {
    public func write(string : String) {
        fputs(string, stderr)
    }
}
var myErrStream = StderrStream()
print("TESTING", &myErrStream)

Thanks for letting me know.

7 Comments