Skip to content

Commit 74887d0

Browse files
authored
Add Julia compat note for Test.detect_closure_boxes docstrings (#61223)
Follow-up to #60478
1 parent acd9708 commit 74887d0

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

stdlib/Test/src/Test.jl

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2653,6 +2653,9 @@ code, paired with the boxed variable names. Variable names are `:unknown` when a
26532653
slot name cannot be resolved.
26542654
26552655
See also [`detect_closure_boxes_all_modules`](@ref) to check all loaded modules.
2656+
2657+
!!! compat "Julia 1.14"
2658+
This method requires Julia 1.14 or later.
26562659
"""
26572660
function detect_closure_boxes(mods::Module...)
26582661
@nospecialize
@@ -2723,12 +2726,15 @@ function detect_closure_boxes(mods::Module...)
27232726
end
27242727

27252728
"""
2726-
()
2729+
detect_closure_boxes_all_modules()
27272730
27282731
Return a sorted `Vector{Pair{Method, Vector{Symbol}}}` of all methods in currently
27292732
loaded modules that allocate `Core.Box` in their lowered code.
27302733
27312734
See also [`detect_closure_boxes`](@ref) to check specific modules.
2735+
2736+
!!! compat "Julia 1.14"
2737+
This method requires Julia 1.14 or later.
27322738
"""
27332739
detect_closure_boxes_all_modules() = detect_closure_boxes(Base.loaded_modules_array()...)
27342740

0 commit comments

Comments
 (0)