Skip to content

Commit b48b89d

Browse files
authored
fix redirect_stdio rules on nightly again (#421)
These were broken by JuliaLang/julia#37978 again.
1 parent a9511eb commit b48b89d

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

Project.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name = "ChainRules"
22
uuid = "082447d4-558c-5d27-93f4-14fc19e9eca2"
3-
version = "0.7.69"
3+
version = "0.7.70"
44

55
[deps]
66
ChainRulesCore = "d360d2e6-b24c-11e9-a2a3-2a2ae2dbcce4"

src/rulesets/Base/nondiff.jl

+1-3
Original file line numberDiff line numberDiff line change
@@ -316,9 +316,7 @@ VERSION >= v"1.4" && @non_differentiable only(::Char)
316316
@non_differentiable readuntil(::IO, ::AbstractString)
317317
@non_differentiable realpath(::AbstractString)
318318
if isdefined(Base, :redirect_stdio)
319-
@non_differentiable (::Base.redirect_stdio)(
320-
::Union{IOStream, Base.LibuvStream, Base.DevNull, Base.AbstractPipe},
321-
)
319+
@non_differentiable Base.redirect_stdio(::Any)
322320
else
323321
@non_differentiable redirect_stderr(
324322
::Union{IOStream, Base.LibuvStream, Base.DevNull, IOContext},

0 commit comments

Comments
 (0)