Skip to content

Commit

Permalink
use an explicit Any comprehension
Browse files Browse the repository at this point in the history
  • Loading branch information
KristofferC committed May 3, 2023
1 parent 475512b commit 0b7aa38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0b7aa38

Please sign in to comment.