diff options
| author | bors <bors@rust-lang.org> | 2013-11-14 13:01:35 -0800 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2013-11-14 13:01:35 -0800 |
| commit | ade310cbb6e949b27285ca592e34371c1cc6677f (patch) | |
| tree | 179f19735600c04427f28df62bd9d786abd4c6ae /src/libsyntax | |
| parent | 0d11935bf6ae3e784aefb1c359a70fea5dfd3d00 (diff) | |
| parent | 20627c7430afd700cf0b462c372d9086c7c51f0a (diff) | |
| download | rust-ade310cbb6e949b27285ca592e34371c1cc6677f.tar.gz rust-ade310cbb6e949b27285ca592e34371c1cc6677f.zip | |
auto merge of #10018 : fhahn/rust/check-inferred-ints, r=alexcrichton
I've started working on this issue and pushed a small commit, which adds a range check for integer literals in `middle::const_eval` (no `uint` at the moment)
At the moment, this patch is just a proof of concept, I'm not sure if there is a better function for the checks in `middle::const_eval`. This patch does not check for overflows after constant folding, eg:
let x: i8 = 99 + 99;
Diffstat (limited to 'src/libsyntax')
0 files changed, 0 insertions, 0 deletions
