JuliaPluto/Pluto.jl
`local function` works, but leads to multiple definitions error
已关闭
#3,545 创建于 2026年5月12日
good first issue
仓库指标
- 星标
- (5,295 个星标)
- PR 合并指标
- (平均合并 5天 12小时) (30 天内合并 13 个 PR)
描述
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.