jckarter/clay — Issue #38: Enable conversion checks for casts
Author: jckarter
Created: 2011-12-10 21:07:45+00:00
State: open

`UInt(Int)` and friends should check for overflow when `-Dclay.IntegerOverflowChecks` is enabled. There should be a `wrapCast(static T, U)` function for cases when truncation is intended.