Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable conversion checks for casts #38

Closed
jckarter opened this issue Dec 10, 2011 · 0 comments
Closed

Enable conversion checks for casts #38

jckarter opened this issue Dec 10, 2011 · 0 comments

Comments

@jckarter
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant