# BUG: cannot assign Base.reduce and others in JUNO julia REPL

**URL:** <https://discourse.julialang.org/t/bug-cannot-assign-base-reduce-and-others-in-juno-julia-repl/17302>\
**Category:** Juno\
**Tags:** question\
**Created:** [November 8, 2018, 1:31pm UTC](https://discourse.julialang.org/t/bug-cannot-assign-base-reduce-and-others-in-juno-julia-repl/17302 "2018-11-08T13:31:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![schlichtanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/schlichtanders/32/32145_2.png) [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Post date:** [November 8, 2018, 1:31pm UTC](https://discourse.julialang.org/t/bug-cannot-assign-base-reduce-and-others-in-juno-julia-repl/17302/1 "2018-11-08T13:31:33Z")

</div>

Dear JUNO team,

I just stumbled upon that JUNO julia REPL (alias “console”) behaves differently then my normal julia REPL which I can start from the command line.

Concretely the following works from command line, however does not from JUNO

```julia
julia> reduce = "test"
ERROR: cannot assign variable Base.reduce from module Main
Stacktrace:
 [1] top-level scope at none:0

```

Same for all other functions in Base

This is such a crucial drawback that I now use command line REPL instead of JUNO julia console (even though I now cannot use SHIFT+ENTER to execute code lines conveniently, which I really would like to have)

environment:

- Windows 10 64bit
- atom 1.32.1 x64
- julia-client 0.7.9
- uber-juno 0.2.0
- ink 0.9.12

---

<div class="post-metadata">

**Author:** ![pfitzseb](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pfitzseb/32/45566_2.png) [@pfitzseb](https://discourse.julialang.org/u/pfitzseb)\
**Post date:** [November 8, 2018, 1:56pm UTC](https://discourse.julialang.org/t/bug-cannot-assign-base-reduce-and-others-in-juno-julia-repl/17302/2 "2018-11-08T13:56:10Z")

</div>

That’s happening due to how we handle autocompletions, I think. Would be fixed with e.g.  
[https://github.com/JunoLab/Atom.jl/pull/125](https://github.com/JunoLab/Atom.jl/pull/125)  
which I hope to get into the next release.

Also see [Inconsistent Base method overwrite behaviour](https://discourse.julialang.org/t/inconsistent-base-method-overwrite-behaviour/15367), which would still be an issue even with the above PR.

---

<div class="post-metadata">

**Author:** ![schlichtanders](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/schlichtanders/32/32145_2.png) [@schlichtanders](https://discourse.julialang.org/u/schlichtanders)\
**Post date:** [November 9, 2018, 4:28pm UTC](https://discourse.julialang.org/t/bug-cannot-assign-base-reduce-and-others-in-juno-julia-repl/17302/3 "2018-11-09T16:28:09Z")

</div>

thanks a lot for referencing both!  
looking forward
