On 23 août 2013, at 12:44, Chris Morgan <m...@chrismorgan.info> wrote:

> https://github.com/mozilla/rust/issues/5992
> 
> (Coming from a Python background I know the concept as augmented
> assignment; they are also known as assignment operators. Or just +=,
> ^=, <<= and the like.)
> 
> I want augmented assignment in Rust for all types, so I had a crack at
> implementing this. I have an implementation mostly complete in my
> augmented-assignment branch
> (https://github.com/chris-morgan/rust/compare/augmented-assignment),
> but even if I managed to convince the Rust side of rustc that I was
> competent, LLVM called my bluff.
> 
> The last state of my branch and what appears to be wrong (extra
> argument going to the LLVM Call) is documented in #5992.
> 
> Is there anyone who would be able to look at my patch and get it to
> work (or even figure out just where the wrong is)? I just rebased it
> and so it is up to date, but if left for another few weeks it
> doubtless will continue to bitrot.

For the record, I think augmented assignments are a terrible ideas and one of 
the worst features of python. 
_______________________________________________
Rust-dev mailing list
Rust-dev@mozilla.org
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to