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
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "CompilerCaching"
uuid = "9db33cc3-5358-4881-8759-fa4194144afd"
version = "0.2.1"
version = "0.2.2"

[workspace]
projects = ["test", "examples"]
Expand Down
7 changes: 5 additions & 2 deletions src/CompilerCaching.jl
Original file line number Diff line number Diff line change
Expand Up @@ -376,8 +376,11 @@ end
# methods, causing lookups to fail or return stale global entries, so don't use the cache.
# Use jl_get_specialization1 instead, which uses jl_matching_methods (not cached dispatch)
# and returns compileable signatures (with proper vararg widening).
@static if VERSION >= v"1.14.0-DEV.1581"
# NOTE: is being backported
# Fixed in 1.14.0-DEV.1581, backported to 1.13.0-beta2, 1.12.5, and 1.11.9.
@static if (VERSION >= v"1.14.0-DEV.1581" ||
v"1.13.0-beta2" <= VERSION < v"1.14-" ||
v"1.12.5" <= VERSION < v"1.13-" ||
v"1.11.9" <= VERSION < v"1.12-")
@inline function method_instance(@nospecialize(f), @nospecialize(tt);
world::UInt=Base.get_world_counter(),
method_table::Union{Core.MethodTable,Nothing}=nothing)
Expand Down
Loading