Skip to content

Commit

Permalink
add back an alias for check_top_bit (JuliaLang#53523)
Browse files Browse the repository at this point in the history
Used in some packages (e.g. rfourquet/BitIntegers.jl)
Renamed in JuliaLang#53166
  • Loading branch information
KristofferC authored and tecosaur committed Mar 4, 2024
1 parent 19597b1 commit 08baea6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions base/boot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -969,6 +969,7 @@ arrayset(inbounds::Bool, A::Array{T}, x::Any, i::Int...) where {T} = Main.Base.s
arraysize(a::Array) = a.size
arraysize(a::Array, i::Int) = sle_int(i, nfields(a.size)) ? getfield(a.size, i) : 1
export arrayref, arrayset, arraysize, const_arrayref
const check_top_bit = check_sign_bit

# For convenience
EnterNode(old::EnterNode, new_dest::Int) = isdefined(old, :scope) ?
Expand Down

0 comments on commit 08baea6

Please sign in to comment.