Function that's `not defined` is defined

You can’t conditionally define a function inside a function: disallow methods of local functions in different blocks · Issue #15602 · JuliaLang/julia · GitHub. Solution: don’t do that

3 Likes