Skip to content

Commit f65e021

Browse files
authored
Widen allowed type of a CodeInfo.linetable (#414)
Fixes JuliaDebug/Debugger.jl#264
1 parent cdf1450 commit f65e021

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
@@ -268,7 +268,7 @@ function linetable(arg)
268268
if isa(arg, FrameCode)
269269
arg = arg.src
270270
end
271-
return (arg::CodeInfo).linetable::Vector{Any}
271+
return (arg::CodeInfo).linetable::Union{Vector{Core.LineInfoNode},Vector{Any}} # issue #264
272272
end
273273
linetable(arg, i::Integer) = linetable(arg)[i]::Union{Expr,LineTypes}
274274

0 commit comments

Comments
 (0)