Skip to content

Commit e449cd4

Browse files
vchuravyJeffBezanson
authored andcommitted
fix undefined variable error in uncompress_ast (#31613)
1 parent 084e8c7 commit e449cd4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/reflection.jl

+1-1
Original file line numberDiff line numberDiff line change
@@ -903,7 +903,7 @@ uncompressed_ast(m::Method) = isdefined(m, :source) ? _uncompressed_ast(m, m.sou
903903
error("Code for this Method is not available.")
904904
_uncompressed_ast(m::Method, s::CodeInfo) = copy(s)
905905
_uncompressed_ast(m::Method, s::Array{UInt8,1}) = ccall(:jl_uncompress_ast, Any, (Any, Ptr{Cvoid}, Any), m, C_NULL, s)::CodeInfo
906-
_uncompressed_ast(m::Core.CodeInstance, s::Array{UInt8,1}) = ccall(:jl_uncompress_ast, Any, (Any, Ptr{Cvoid}, Any), li.def.def::Method, li, s)::CodeInfo
906+
_uncompressed_ast(ci::Core.CodeInstance, s::Array{UInt8,1}) = ccall(:jl_uncompress_ast, Any, (Any, Any, Any), ci.def.def::Method, ci, s)::CodeInfo
907907

908908
function method_instances(@nospecialize(f), @nospecialize(t), world::UInt = typemax(UInt))
909909
tt = signature_type(f, t)

0 commit comments

Comments
 (0)