I can enter the same keyword argument twice, and the second entry is the 
one that gets used. A short example follows:

f(x::Int ; kw::Int=0) = x * kw
f(2)
f(2, kw=3) #evaluates to 6
f(2, kw=3, kw=4) #evaluates to 8

Is this desired behaviour or is it a bug? Based on a quick scan, I can't 
quite tell if this is the same bug as issue 9535 
(https://github.com/JuliaLang/julia/issues/9535), so thought I would post 
here before filing anything. Also, I'm on v0.4, so I don't want to file if 
this is already taken care of in v0.5.

Cheers all,

Colin


Reply via email to