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
setindex!
x should be global in both of these:
x
julia> solve_from_local(:(x[] = 1)) :($(Expr(:scoped, (bounds = Var[@local x], freevars = Var[], bound_inits = Symbol[]), :((@local x)[] = 1)))) julia> solve_from_local(:(setindex!(x, 1))) :($(Expr(:scoped, (bounds = Var[], freevars = Var[], bound_inits = Symbol[]), :((@global setindex!)(@global x, 1)))))
The text was updated successfully, but these errors were encountered:
Maybe the solution is having simplify_ex turn x[inds...] = y into setindex!(x, y, inds...)?
simplify_ex
x[inds...] = y
setindex!(x, y, inds...)
Sorry, something went wrong.
No branches or pull requests
x
should be global in both of these:The text was updated successfully, but these errors were encountered: