Skip to content

Commit a1e9fd3

Browse files
authored
nit type-stability in StackTraces.lookup line variable (#41847)
1 parent 727fe6a commit a1e9fd3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/stacktraces.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ function lookup(ip::Union{Base.InterpreterIP,Core.Compiler.InterpreterIP})
133133
else
134134
func = top_level_scope_sym
135135
file = empty_sym
136-
line = 0
136+
line = Int32(0)
137137
end
138138
i = max(ip.stmt+1, 1) # ip.stmt is 0-indexed
139139
if i > length(codeinfo.codelocs) || codeinfo.codelocs[i] == 0

0 commit comments

Comments
 (0)