We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aee2628 commit c81e6baCopy full SHA for c81e6ba
src/driver.jl
@@ -201,7 +201,12 @@ end
201
202
@generated function deferred_codegen(::Val{ft}, ::Val{tt}) where {ft,tt}
203
id = length(deferred_codegen_jobs) + 1
204
- deferred_codegen_jobs[id] = FunctionSpec(ft, tt)
+ deferred_codegen_jobs[id] = FunctionSpec(ft, tt, 0)
205
+ # don't bother looking up the method's world, as we'll override it during codegen.
206
+ #
207
+ # this also works around an issue on <1.10, where we don't know the world age of
208
+ # generated functions so use the current world counter, which may be too new
209
+ # for the world we're compiling for.
210
211
pseudo_ptr = reinterpret(Ptr{Cvoid}, id)
212
quote
0 commit comments