Closed
Description
A short example:
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
I'm on v0.4, but I asked about it on the julia-users list here, and was told you can still do this in v0.5. The link also contains an argument for why this might be considered a feature and not a bug. Personally, it feels more like a bug to me - but I am a very small voice.
I stumbled onto this when typing out several keyword arguments, and my mind was still on the previous keyword as I typed the next one, and so I accidentally typed it twice. Easy to do, and it took me quite a while to work out where I'd gone wrong.