Skip to content

Commit aefaa30

Browse files
authored
use an explicit Any comprehension (#572)
1 parent 475512b commit aefaa30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -747,7 +747,7 @@ function Base.StackTraces.StackFrame(frame::Frame)
747747
scope = scopeof(frame)
748748
if scope isa Method
749749
method = scope
750-
method_args = [something(frame.framedata.locals[i]) for i in 1:method.nargs]
750+
method_args = Any[something(frame.framedata.locals[i]) for i in 1:method.nargs]
751751
argt = Tuple{mapany(_Typeof, method_args)...}
752752
sig = method.sig
753753
atype, sparams = ccall(:jl_type_intersection_with_env, Any, (Any, Any), argt, sig)::SimpleVector

0 commit comments

Comments
 (0)