Skip to content

Commit

Permalink
typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxd3 committed Nov 7, 2024
1 parent 25dff54 commit 1900aed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/compiler_pass.jl
Original file line number Diff line number Diff line change
Expand Up @@ -753,11 +753,11 @@ function make_function_expr(
Symbol("__", String(lhs.args[1]), "_", join(lhs.args[2:end], "_"), "__")
end

return args, MacroTools.@q function $func_name(; $(arg_exprs...))
return args, MacroTools.@q function $func_name($(arg_exprs...))
return $(expr)
end
else
return return args, MacroTools.@q function (; $(arg_exprs...))
return args, MacroTools.@q function ($(arg_exprs...))
return $(expr)
end
end
Expand Down

0 comments on commit 1900aed

Please sign in to comment.