Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Backport @static macro (JuliaLang/julia#16219) #204

Merged
merged 1 commit into from
May 23, 2016
Merged

Backport @static macro (JuliaLang/julia#16219) #204

merged 1 commit into from
May 23, 2016

Conversation

TotalVerb
Copy link
Contributor

@static finally provides a canonical syntax for statically choosing code based off version. This is an exact copy of the Base.@static macro introduced in JuliaLang/julia#16219.

Closes #131.

Add a test for @static
Document the @static macro
@tkelman
Copy link
Contributor

tkelman commented May 23, 2016

Great, thanks!

@tkelman tkelman merged commit 090b82d into JuliaLang:master May 23, 2016
martinholters pushed a commit to martinholters/Compat.jl that referenced this pull request Jul 13, 2016
More precise VERSION check for checkindex()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants