SciML / SciML/RuntimeGeneratedFunctions.jl
`id` variable is set to a NTuple of UInt inside of the function body
Open
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 112
- Forks
- 19
- Avg merge
- 6h 11m
- Merged PRs (30d)
- 9
Description
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)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the Julia REPL example from the issue with ex = :(x -> id), @RuntimeGeneratedFunction, and f(2). Trace how the runtime-generated function handles the id reference; done means the example no longer returns the unexpected NTuple of UInt values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- compilers
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100