Skip to content

Commit

Permalink
fix(kwdef): Copy over Base.isexpr
Browse files Browse the repository at this point in the history
  • Loading branch information
ettersi authored and mchitre committed Feb 4, 2024
1 parent 993e261 commit 030e6c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/kwdef.jl
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
using Base: isexpr
isexpr(@nospecialize(ex), head::Symbol) = isa(ex, Expr) && ex.head === head

macro kwdef(expr)
expr = macroexpand(__module__, expr) # to expand @static
Expand Down

0 comments on commit 030e6c8

Please sign in to comment.