From 10e702d1bc932bd17ce3a3315bf5a10c2192a1e2 Mon Sep 17 00:00:00 2001 From: Paul Berg Date: Sat, 27 May 2023 15:14:22 +0200 Subject: [PATCH 1/3] Update docstring for `StackFrame.linfo` --- base/stacktraces.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/base/stacktraces.jl b/base/stacktraces.jl index 23dadca8c8fa5..0f015e6d4016a 100644 --- a/base/stacktraces.jl +++ b/base/stacktraces.jl @@ -20,9 +20,10 @@ Stack information representing execution context, with the following fields: The name of the function containing the execution context. -- `linfo::Union{Core.MethodInstance, CodeInfo, Nothing}` +- `linfo::Union{MethodInstance, Method, Module, CodeInfo, Nothing}` - The MethodInstance containing the execution context (if it could be found). + The MethodInstance or CodeInfo containing the execution context (if it could be found), \ + or Module (for macro expansions)" - `file::Symbol` From 316aac09f8307c4ae33b6706ddd97d3d38cc4ddd Mon Sep 17 00:00:00 2001 From: Paul Berg Date: Sat, 27 May 2023 15:16:03 +0200 Subject: [PATCH 2/3] add Core --- base/stacktraces.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/stacktraces.jl b/base/stacktraces.jl index 0f015e6d4016a..7aada3de357c2 100644 --- a/base/stacktraces.jl +++ b/base/stacktraces.jl @@ -20,7 +20,7 @@ Stack information representing execution context, with the following fields: The name of the function containing the execution context. -- `linfo::Union{MethodInstance, Method, Module, CodeInfo, Nothing}` +- `linfo::Union{Core.MethodInstance, Method, Module, CodeInfo, Nothing}` The MethodInstance or CodeInfo containing the execution context (if it could be found), \ or Module (for macro expansions)" From 61966166da73d35f99bd9e08a06e412564de5846 Mon Sep 17 00:00:00 2001 From: Paul Berg Date: Sat, 27 May 2023 15:16:46 +0200 Subject: [PATCH 3/3] add Core (2) --- base/stacktraces.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/stacktraces.jl b/base/stacktraces.jl index 7aada3de357c2..4b35b00f487a0 100644 --- a/base/stacktraces.jl +++ b/base/stacktraces.jl @@ -20,7 +20,7 @@ Stack information representing execution context, with the following fields: The name of the function containing the execution context. -- `linfo::Union{Core.MethodInstance, Method, Module, CodeInfo, Nothing}` +- `linfo::Union{Core.MethodInstance, Method, Module, Core.CodeInfo, Nothing}` The MethodInstance or CodeInfo containing the execution context (if it could be found), \ or Module (for macro expansions)"