We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UndefVarError
Having a unused undefined variable in a function doesn't seems to cause an error...
julia> function f(a) println(1) aaaaaa println(2) end f (generic function with 1 method) julia> f(1) 1 2 julia> @code_lowered f(1) 1-element Array{Any,1}: :($(Expr(:lambda, Any[:a], Any[Any[Any[:a,:Any,0]],Any[],0,Any[]], :(begin # none, line 2: (Main.println)(1) # none, line 3: # none, line 4: return (Main.println)(2) end))))
The text was updated successfully, but these errors were encountered:
Dup of the likely unsearchable "if cond then works" issue: #6846
if cond then
Sorry, something went wrong.
No branches or pull requests
Having a unused undefined variable in a function doesn't seems to cause an error...
The text was updated successfully, but these errors were encountered: