Skip to content

Commit

Permalink
Merge pull request #48 from pablosanjose/up_exprtools_2
Browse files Browse the repository at this point in the history
Remove workaround for ExprTools#8
  • Loading branch information
pablosanjose authored May 1, 2020
2 parents 753694b + 3ac30c4 commit 6ce8ebd
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/model.jl
Original file line number Diff line number Diff line change
Expand Up @@ -583,8 +583,6 @@ function get_f_N_params(f, msg)
else
push!(kwargs, :(_...)) # normalization : append _... to kwargs
end
# Workaround for Issue #8 in ExprTools. Remove when PR #9 is merged
kwargs[1] isa Expr && kwargs[1].head == :(=) && (kwargs[1] = :($(Expr(:kw, kwargs[1].args...))))
end
N = haskey(d, :args) ? length(d[:args]) : 0
= ExprTools.combinedef(d)
Expand Down

0 comments on commit 6ce8ebd

Please sign in to comment.