JuliaPluto/Pluto.jl
`local function` works, but leads to multiple definitions error
Chiusa
#3545 aperta il 12 mag 2026
good first issue
Metriche repository
- Star
- (5295 stelle)
- Metriche merge PR
- (Merge medio 5g 12h) (13 PR mergiate in 30 g)
Descrizione
A cell in pluto:
begin
local function f(x)
x^3
end
f(2)
end
This runs as expected and f is not available outside the begin-block, but if another cell also defines local function f(), I still get a Multiple definitions for f error.