From 0b7aa385fa7ba1c97ef8bb68a85b50759359f565 Mon Sep 17 00:00:00 2001 From: Kristoffer Date: Wed, 3 May 2023 11:22:59 +0200 Subject: [PATCH] use an explicit Any comprehension --- src/utils.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils.jl b/src/utils.jl index 83962e71..0ae93160 100644 --- a/src/utils.jl +++ b/src/utils.jl @@ -747,7 +747,7 @@ function Base.StackTraces.StackFrame(frame::Frame) scope = scopeof(frame) if scope isa Method method = scope - method_args = [something(frame.framedata.locals[i]) for i in 1:method.nargs] + method_args = Any[something(frame.framedata.locals[i]) for i in 1:method.nargs] argt = Tuple{mapany(_Typeof, method_args)...} sig = method.sig atype, sparams = ccall(:jl_type_intersection_with_env, Any, (Any, Any), argt, sig)::SimpleVector