Julia 1.10.2:
julia> (x for x in 1:5 6)
6
Julia 1.6
julia> (x for x in 1:5 5)
ERROR: syntax: expected ")"
I originally discovered this error in 1.10.2 by trying to run the following and thinking that Julia may have gotten too smart.
julia> (x for x in in 1:5)
1:5