Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ jobs:
- "1.3" # most features work only on 1.3+
- "1" # Latest Release
- "1.11"
- "~1.12.0-rc1"
- "1.12"
- "nightly"
os:
- ubuntu-latest
arch:
Expand Down
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "Tricks"
uuid = "410a4b4d-49e4-4fbc-ab6d-cb71b17b3775"
authors = ["Frames White"]
version = "0.1.12"
version = "0.1.13"

[compat]
julia = "1.0"
Expand Down
6 changes: 5 additions & 1 deletion src/Tricks.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,11 @@ function create_codeinfo_with_returnvalue(argnames, spnames, sp, value)
if spnames !== nothing
expr = Expr(Symbol("with-static-parameters"), expr, spnames...)
end
ci = ccall(:jl_expand, Any, (Any, Any), expr, @__MODULE__)
@static if VERSION >= v"1.13.0-DEV"
ci = Meta.lower(@__MODULE__, expr)
else
ci = ccall(:jl_expand, Any, (Any, Any), expr, @__MODULE__)
end
return ci
end

Expand Down
Loading