Skip to content

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎base/deprecated.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1560,7 +1560,7 @@ import .LinAlg: diagm
15601560
# PR #23271
15611561
function IOContext(io::IO; kws...)
15621562
depwarn("IOContext(io, k=v, ...) is deprecated, use IOContext(io, :k => v, ...) instead.", :IOContext)
1563-
IOContext(io, (k=>v for (k, v) in kws)...)
1563+
IOContext(io, (k=>v for (k, v) in pairs(kws))...)
15641564
end
15651565

15661566
@deprecate IOContext(io::IO, key, value) IOContext(io, key=>value)

0 commit comments

Comments
 (0)
Please sign in to comment.