Skip to content

Commit 9191d09

Browse files
committed
kwstruct
1 parent 2ce1bfd commit 9191d09

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/macros.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,7 @@ function _measure(expr)
4747
par :: NamedTuple{N,T}
4848
end
4949

50-
KeywordCalls._kwstruct(:($μ($(p...))))
51-
52-
(::Type{$μ})() where {N,T} = $μ(NamedTuple())
50+
@kwstruct $expr
5351
end
5452

5553
if !isempty(p)

0 commit comments

Comments
 (0)