diff options
| author | Andrew Waterman | 2019-04-12 17:51:04 -0700 |
|---|---|---|
| committer | edwardcwang | 2019-04-15 13:07:11 -0700 |
| commit | a4a29e29c3f1eed18f851dcf10bdc845571dfcb6 (patch) | |
| tree | 876999a0301d4ef86e8bb0712e8bc3ec3d2f9ef7 /build.sbt | |
| parent | 0028c64922a85087b2b6a6062fe202294e70855a (diff) | |
Avoid silently truncating BigInt to Int
- Introduce internal helper `castToInt`, which issues an error when the input
BigInt can't be represented as Int.
- Use `castToInt` wherever we were using `toInt` in a potentially unsafe way.
Diffstat (limited to 'build.sbt')
0 files changed, 0 insertions, 0 deletions
