- New
Base.@acquire
macro for a non-closure version ofBase.acquire(f, s::Base.Semaphore)
, like@lock
. ([#56845])
sort(keys(::Dict))
andsort(values(::Dict))
now automatically collect, they previously threw ([#56978]).Base.AbstractOneTo
is added as a supertype of one-based axes, withBase.OneTo
as its subtype ([#56902]).
- Test failures when using the
@test
macro now show evaluated arguments for all function calls ([#57825], [#57839]).
- Introspection utilities such as
@code_typed
,@which
and@edit
now accept type annotations as substitutes for values, recognizing forms such asf(1, ::Float64, 3)
or evensum(::Vector{T}; init = ::T) where {T<:Real}
([#57909]).