From 8051b7350759ca2daeaa3a2e6c7f376e1fd8208b Mon Sep 17 00:00:00 2001 From: Artem Pelenitsyn Date: Sun, 17 Sep 2023 15:38:09 -0400 Subject: [PATCH 1/4] code_warntype docs: more neutral reference to @code_warntype fix #51358 --- stdlib/InteractiveUtils/src/codeview.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/InteractiveUtils/src/codeview.jl b/stdlib/InteractiveUtils/src/codeview.jl index 2e7061a3f86c7..dd6de2b5d48f1 100644 --- a/stdlib/InteractiveUtils/src/codeview.jl +++ b/stdlib/InteractiveUtils/src/codeview.jl @@ -70,7 +70,7 @@ Small unions of concrete types are usually not a concern, so these are highlight Keyword argument `debuginfo` may be one of `:source` or `:none` (default), to specify the verbosity of code comments. -See [`@code_warntype`](@ref man-code-warntype) for more information. +See also [`@code_warntype`](@ref man-code-warntype). """ function code_warntype(io::IO, @nospecialize(f), @nospecialize(t=Base.default_tt(f)); debuginfo::Symbol=:default, optimize::Bool=false, kwargs...) From 466e387006020c471a0cf6d856a626c98be967a0 Mon Sep 17 00:00:00 2001 From: Artem Pelenitsyn Date: Wed, 20 Sep 2023 02:07:05 -0400 Subject: [PATCH 2/4] Update codeview.jl --- stdlib/InteractiveUtils/src/codeview.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/InteractiveUtils/src/codeview.jl b/stdlib/InteractiveUtils/src/codeview.jl index 1352c84c49bdc..f9ffc53e90dfb 100644 --- a/stdlib/InteractiveUtils/src/codeview.jl +++ b/stdlib/InteractiveUtils/src/codeview.jl @@ -70,7 +70,7 @@ Small unions of concrete types are usually not a concern, so these are highlight Keyword argument `debuginfo` may be one of `:source` or `:none` (default), to specify the verbosity of code comments. -See also: [`@code_warntype`](@ref), [`code_typed`](@ref), [`code_lowered`](@ref), [`code_llvm`](@ref), [`code_native`](@ref). +See the @code_warntype section in the Performance Tips page of the manual for more information. """ function code_warntype(io::IO, @nospecialize(f), @nospecialize(t=Base.default_tt(f)); debuginfo::Symbol=:default, optimize::Bool=false, kwargs...) From 825c960f2b1bbb88e08241786c447bbb8fc22132 Mon Sep 17 00:00:00 2001 From: Artem Pelenitsyn Date: Wed, 20 Sep 2023 02:29:56 -0400 Subject: [PATCH 3/4] Update codeview.jl --- stdlib/InteractiveUtils/src/codeview.jl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/stdlib/InteractiveUtils/src/codeview.jl b/stdlib/InteractiveUtils/src/codeview.jl index f9ffc53e90dfb..a6c6e5e296bc5 100644 --- a/stdlib/InteractiveUtils/src/codeview.jl +++ b/stdlib/InteractiveUtils/src/codeview.jl @@ -71,6 +71,8 @@ Small unions of concrete types are usually not a concern, so these are highlight Keyword argument `debuginfo` may be one of `:source` or `:none` (default), to specify the verbosity of code comments. See the @code_warntype section in the Performance Tips page of the manual for more information. + +See also: [`@code_warntype`](@ref), [`code_typed`](@ref), [`code_lowered`](@ref), [`code_llvm`](@ref), [`code_native`](@ref). """ function code_warntype(io::IO, @nospecialize(f), @nospecialize(t=Base.default_tt(f)); debuginfo::Symbol=:default, optimize::Bool=false, kwargs...) From 3a91e3793900cc540f80a2c7cf791627b5340f27 Mon Sep 17 00:00:00 2001 From: Artem Pelenitsyn Date: Wed, 20 Sep 2023 07:29:40 -0400 Subject: [PATCH 4/4] Update codeview.jl --- stdlib/InteractiveUtils/src/codeview.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/InteractiveUtils/src/codeview.jl b/stdlib/InteractiveUtils/src/codeview.jl index a6c6e5e296bc5..83e6c1d132efe 100644 --- a/stdlib/InteractiveUtils/src/codeview.jl +++ b/stdlib/InteractiveUtils/src/codeview.jl @@ -70,7 +70,7 @@ Small unions of concrete types are usually not a concern, so these are highlight Keyword argument `debuginfo` may be one of `:source` or `:none` (default), to specify the verbosity of code comments. -See the @code_warntype section in the Performance Tips page of the manual for more information. +See the [`@code_warntype`](@ref man-code-warntype) section in the Performance Tips page of the manual for more information. See also: [`@code_warntype`](@ref), [`code_typed`](@ref), [`code_lowered`](@ref), [`code_llvm`](@ref), [`code_native`](@ref). """