On 6/14/12 1:41 PM, Graydon Hoare wrote:
However, we nicely dodged that bullet by not supporting ++ and -- at all. Very prescient :)Not really. Reoccurs with foo["bar"] += 1;
Well, there's a fairly straightforward desugaring: foo["bar"] = foo["bar"] + 1; For ++ it's less certain (you have to dummy up a 1 constant of... some type?)
Patrick _______________________________________________ Rust-dev mailing list [email protected] https://mail.mozilla.org/listinfo/rust-dev
