julia-vscode / StaticLint.jl

Static Code Analysis for Julia

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Global definition of function inside `let`

fredrikekre opened this issue · comments

let x = 1
    global function foo()
    end
end

function bar()
    foo()                # <-- Missing reference foo
end