| commit | e0ada7efebd3709d7fc3814c2b4f65443377dc76 | [log] [tgz] |
|---|---|---|
| author | Paul Berry <stereotype441@gmail.com> | Thu Aug 27 14:35:52 2020 -0700 |
| committer | GitHub <noreply@github.com> | Thu Aug 27 14:35:52 2020 -0700 |
| tree | ad31cb92158c54b1e858e7b9bd5ac3d0ebf256d3 | |
| parent | ffa4951a8932a49545c31d14dcf261d8938cb89f [diff] |
Remove unnecessary cast from clamp computation. (dart-lang/clock#21) Now that the analyzer correctly computes the type of `int.clamp(int, int)` as `int` (for libraries opted into null safety), we no longer need to cast the result to an `int`.