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.
_______________________________________________
Rust-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/rust-dev

Reply via email to