Skip to content

Commit

Permalink
make hide communication compatible with incremental compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
omlins committed Mar 16, 2023
1 parent 759d98b commit cd2d3d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ParallelKernel/shared.jl
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ is_block(arg) = ( isa(arg, Expr) && (arg.head == :block) )
is_parallel_call(x) = isexpr(x, :macrocall) && (x.args[1] == Symbol("@parallel") || x.args[1] == :(@parallel))

function extract_args(call::Expr, macroname::Symbol)
if (call.head == :macrocall) @ModuleInternalError("argument is not a macro call.") end
if (call.head != :macrocall) @ModuleInternalError("argument is not a macro call.") end
if (call.args[1] != macroname) @ModuleInternalError("unexpected macro name.") end
return (call.args[3:end]...,)
end
Expand Down

0 comments on commit cd2d3d0

Please sign in to comment.