[rust-dev] Integer overflow, round -2147483648

Patrick Walton pcwalton at mozilla.com
Mon Jun 23 14:07:04 PDT 2014


On 6/23/14 2:04 PM, comex wrote:
> On Mon, Jun 23, 2014 at 4:49 PM, Daniel Micay <danielmicay at gmail.com> wrote:
>> I don't understand what the problem would be with my proposal to have
>> either `checked { }` or checked operators + a lint for unchecked usage.
>
> I don't see 'checked { }' anywhere in the discussion before this
> message...  sounds like it should be doable as a macro too.

That's what I was alluding to with "lexical scoping like C#", but I 
probably didn't make that clear enough for people who don't obsessively 
study these problems in other languages like I do. :)

Patrick



More information about the Rust-dev mailing list