From 3ac30c44187daa57932b2dc80a227bdba622b8b5 Mon Sep 17 00:00:00 2001 From: Pablo San-Jose Date: Fri, 1 May 2020 14:57:52 +0200 Subject: [PATCH] remove workaround for ExprTools#8 --- src/model.jl | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/model.jl b/src/model.jl index 00c4cd2e..84e02b32 100644 --- a/src/model.jl +++ b/src/model.jl @@ -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 f´ = ExprTools.combinedef(d)