Skip to content

Commit

Permalink
make ToV a const
Browse files Browse the repository at this point in the history
  • Loading branch information
Helmut Hänsel committed Jul 19, 2023
1 parent b27131e commit a79efd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/StippleUIParser.jl
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ end


REV_DICT = Dict(zip(values(StippleUI.API.ATTRIBUTES_MAPPINGS), keys(StippleUI.API.ATTRIBUTES_MAPPINGS)))
ToV = @static if isdefined(Core, :TypeofVararg) # VERSION >= v"1.7.0-DEV.77"
const ToV = @static if isdefined(Core, :TypeofVararg) # VERSION >= v"1.7.0-DEV.77"
# Core.TypeofVararg introduced in https://github.com/JuliaLang/julia/pull/38136
typeof(Vararg)
else
Expand Down

2 comments on commit a79efd3

@hhaensel
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/87839

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.22.6 -m "<description of version>" a79efd342f76ee362e331abdbf4dadd0a1a407d9
git push origin v0.22.6

Please sign in to comment.