Skip to content

Commit aafa433

Browse files
authored
Update src/interpret.jl
1 parent b628f6e commit aafa433

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/interpret.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ function evaluate_methoddef(frame, node)
278278
body = @lookup(frame, node.args[3])
279279
# branching on https://github.com/JuliaLang/julia/pull/41137
280280
@static if isdefined(Core.Compiler, :OverlayMethodTable)
281-
ccall(:jl_method_def, Cvoid, (Any,Ptr{Cvoid},Any,Any), sig, C_NULL, body, moduleof(frame))
281+
ccall(:jl_method_def, Cvoid, (Any, Ptr{Cvoid}, Any, Any), sig, C_NULL, body, moduleof(frame))
282282
else
283283
ccall(:jl_method_def, Cvoid, (Any, Any, Any), sig, body, moduleof(frame))
284284
end

0 commit comments

Comments
 (0)