Skip to content

Commit

Permalink
Update src/Compat.jl
Browse files Browse the repository at this point in the history
Co-authored-by: Martin Holters <[email protected]>
  • Loading branch information
MilesCranmer and martinholters authored Aug 6, 2024
1 parent c03450e commit 38a6c79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Compat.jl
Original file line number Diff line number Diff line change
Expand Up @@ -1123,7 +1123,7 @@ if VERSION < v"1.8.0-DEV.1016"
end

# https://github.com/JuliaLang/julia/pull/54653: add Fix
@static if !isdefined(Base, :Fix)
@static if !isdefined(Base, :Fix) # VERSION < v"1.12.0-DEV.981"
@static if !isdefined(Base, :_stable_typeof)
_stable_typeof(x) = typeof(x)
_stable_typeof(::Type{T}) where {T} = Type{T}
Expand Down

0 comments on commit 38a6c79

Please sign in to comment.