Skip to content

Commit 9bd1d7f

Browse files
committed
fix redirect_stdio rules on nightly again
These were broken by JuliaLang/julia#37978 again.
1 parent a9511eb commit 9bd1d7f

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

src/rulesets/Base/nondiff.jl

Lines changed: 1 addition & 3 deletions
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)