Skip to content

Commit

Permalink
fix redirect_stdio rules on nightly again
Browse files Browse the repository at this point in the history
These were broken by JuliaLang/julia#37978 again.
  • Loading branch information
simeonschaub committed May 28, 2021
1 parent a9511eb commit 9bd1d7f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/rulesets/Base/nondiff.jl
Original file line number Diff line number Diff line change
Expand Up @@ -316,9 +316,7 @@ VERSION >= v"1.4" && @non_differentiable only(::Char)
@non_differentiable readuntil(::IO, ::AbstractString)
@non_differentiable realpath(::AbstractString)
if isdefined(Base, :redirect_stdio)
@non_differentiable (::Base.redirect_stdio)(
::Union{IOStream, Base.LibuvStream, Base.DevNull, Base.AbstractPipe},
)
@non_differentiable Base.redirect_stdio(::Any)
else
@non_differentiable redirect_stderr(
::Union{IOStream, Base.LibuvStream, Base.DevNull, IOContext},
Expand Down

0 comments on commit 9bd1d7f

Please sign in to comment.