Skip to content

Commit

Permalink
Merge pull request #17654 from dhoegh/17612
Browse files Browse the repository at this point in the history
Deprecate 1 argument write. fix #17612
  • Loading branch information
JeffBezanson authored Aug 9, 2016
2 parents 5880af0 + f8e98c6 commit d64cfe4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 2 additions & 0 deletions base/deprecated.jl
Original file line number Diff line number Diff line change
Expand Up @@ -780,4 +780,6 @@ end

const _oldstyle_array_vcat_ = false

@deprecate write(x) write(STDOUT::IO, x)

# End deprecations scheduled for 0.6
2 changes: 0 additions & 2 deletions base/iostream.jl
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,6 @@ function takebuf_raw(s::IOStream)
return buf, sz
end

write(x) = write(STDOUT::IO, x)

function readuntil(s::IOStream, delim::UInt8)
ccall(:jl_readuntil, Array{UInt8,1}, (Ptr{Void}, UInt8), s.ios, delim)
end
Expand Down

0 comments on commit d64cfe4

Please sign in to comment.