RuntimeGeneratedFunctions.jl icon indicating copy to clipboard operation
RuntimeGeneratedFunctions.jl copied to clipboard

`id` variable is set to a NTuple of UInt inside of the function body

Open 0x0f0f0f opened this issue 4 years ago • 1 comments

julia> ex = :(x -> id)
:(x->begin
          #= REPL[19]:1 =#
          id
      end)

julia> f = @RuntimeGeneratedFunction ex
RuntimeGeneratedFunction(#=in Main=#, #=using Main=#, :((x,)->begin
          #= REPL[19]:1 =#
          id
      end))

julia> f(2)
(0x57d4f9a8, 0xe781ae52, 0x562c7637, 0x4ebd110f, 0x3a467d2e)

0x0f0f0f avatar Apr 26 '21 13:04 0x0f0f0f

oof, good call.

YingboMa avatar Apr 26 '21 20:04 YingboMa