Skip to content

Commit

Permalink
Merge pull request #18 from simeonschaub/sds/fix_constprop2
Browse files Browse the repository at this point in the history
don't hardcode version for `@constprop`
  • Loading branch information
chriselrod committed Sep 10, 2021
2 parents 9922cae + 3f61d83 commit baa9ee4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Static"
uuid = "aedffcd0-7271-4cad-89d0-dc628f76c6d3"
authors = ["chriselrod", "ChrisRackauckas", "Tokazama"]
version = "0.3.2"
version = "0.3.3"

[deps]
IfElse = "615f187c-cbe4-4ef1-ba3b-2fcf58d6d173"
Expand Down
2 changes: 1 addition & 1 deletion src/Static.jl
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ using Base: @propagate_inbounds, Slice, AbstractCartesianIndex
export StaticInt, StaticFloat64, StaticSymbol, True, False, StaticBool, NDIndex
export dynamic, is_static, known, static

@static if VERSION >= v"1.7.0-DEV.421"
@static if isdefined(Base, Symbol("@constprop"))
using Base: @constprop
else
macro constprop(_, ex)
Expand Down

2 comments on commit baa9ee4

@chriselrod
Copy link
Collaborator Author

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 created: JuliaRegistries/General/44678

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.3.3 -m "<description of version>" baa9ee41a30aa487774aabbd6d96aec3a3cbad63
git push origin v0.3.3

Please sign in to comment.