Felix S. Klock II e919f82da1 Address arith-overflow and error-handling in const_eval.rs.
1. Detect and report arithmetic overflow during const-expr eval.

 2. Instead `eval_const_expr_partial` returning `Err(String)`, it now
    has a dedicated enum of different cases. The main benefit of this
    is the ability to pass along an interpretable payload, namely the
    two inputs that caused an overlfow.

I attempted to minimize fallout to error output in tests, but some was
unavoidable. Those changes are in a follow-on commit.
2015-03-03 12:10:57 +01:00
..
2015-02-27 13:41:49 -08:00
2015-02-28 23:13:02 -08:00
2015-02-27 13:41:49 -08:00
2015-02-27 13:41:49 -08:00
2015-02-26 07:21:26 +02:00
2015-02-27 01:48:49 +01:00