Browse Source

Use more specific guard condition

pull/12/head
Patrick Häcker 8 months ago
parent
commit
9f38508c77
  1. 2
      src/EnumX.jl

2
src/EnumX.jl

@ -133,7 +133,7 @@ function enumx(_module_, args) @@ -133,7 +133,7 @@ function enumx(_module_, args)
EnumX.symbol_map(::Base.Type{$(esc(T))}) = $(name_value_map)
end
end
if VERSION >= v"1.11"
if VERSION >= v"1.11.0-DEV.469"
push!(
module_block.args,
esc(Expr(:public, values(value_name_map)...))

Loading…
Cancel
Save