Skip to content

Commit 02cf39d

Browse files
committed
forgot args
1 parent 86748cc commit 02cf39d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/utils.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,12 +307,12 @@ function combinedef(dict::Dict)
307307
if rtype==nothing
308308
@q(function $name_param($(dict[:args]...);
309309
$(dict[:kwargs]...)) where {$(wparams...)}
310-
$(dict[:body]...)
310+
$(dict[:body].args...)
311311
end)
312312
else
313313
@q(function $name_param($(dict[:args]...);
314314
$(dict[:kwargs]...))::$rtype where {$(wparams...)}
315-
$(dict[:body]...)
315+
$(dict[:body].args...)
316316
end)
317317
end
318318
end

0 commit comments

Comments
 (0)