# Bug with Julia 1.0.1

**URL:** <https://discourse.julialang.org/t/bug-with-julia-1-0-1/15964>\
**Category:** Internals & Design\
**Created:** [October 6, 2018, 11:50am UTC](https://discourse.julialang.org/t/bug-with-julia-1-0-1/15964 "2018-10-06T11:50:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![tim.holy](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tim.holy/32/52_2.png) [@tim.holy](https://discourse.julialang.org/u/tim.holy)\
**Post date:** [October 6, 2018, 11:55am UTC](https://discourse.julialang.org/t/bug-with-julia-1-0-1/15964/2 "2018-10-06T11:55:06Z")

</div>

```julia
for i in 2:length(feature)
           global max_lrn
           if feature[i] != last_f

```

There are good reasons it works this way in 1.x but there are also significant reservations about this behavior. That’s what [this issue](https://discourse.julialang.org/t/another-possible-solution-to-the-global-scope-debacle/15894) is about.

---

_[View the full topic](https://discourse.julialang.org/t/bug-with-julia-1-0-1/15964)._
