Bug filed: https://github.com/JuliaLang/julia/issues/7679

On Sunday, July 20, 2014 6:08:46 PM UTC-4, Keno Fischer wrote:
>
> I don't recall that being changed again intentionally. 
>
> On Sun, Jul 20, 2014 at 2:18 PM, Cyril Slobin <[email protected] 
> <javascript:>> wrote: 
> > Sorry, I've did it wrong the first time, the second attempt. Seems like 
> the 
> > behavior of comprehensions in 0.3.0-rc1 was changed (compared to stable 
> > 0.2.1), and changed in a wrong way. The expected behavior is documented 
> > here: 
> > 
> > 
> https://github.com/JuliaLang/julia/blob/master/NEWS.md#new-language-features-1
>  
> > 
> > What I see on my installation: 
> > 
> > julia> VERSION 
> > v"0.2.1" 
> > 
> > julia> map(f->f(), { ()->i for i=1:3 }) 
> > 3-element Array{Any,1}: 
> >  1 
> >  2 
> >  3 
> > 
> > But: 
> > 
> > julia> VERSION 
> > v"0.3.0-rc1+61" 
> > 
> > julia> map(f->f(), { ()->i for i=1:3 }) 
> > 3-element Array{Any,1}: 
> >  3 
> >  3 
> >  3 
> > 
> > Is it a temporary regression in this specific rc, or an intentional 
> language 
> > change? Or I am just misunderstanding something? Thanks in advance! 
>

Reply via email to