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

Deprecate numeric conversions that lose precision (e.g., Long to Double) #8679

Merged
merged 2 commits into from Feb 3, 2020

Commits on Feb 1, 2020

  1. Deprecate numeric conversions that lose precision

    Int to Float, Long to Float and Long to Double are dangerous conversions
    and should never be done automatically.
    smarter authored and som-snytt committed Feb 1, 2020
    Configuration menu
    Copy the full SHA
    c8ba3c4 View commit details
    Browse the repository at this point in the history
  2. Use ordinary warning to respect silent treatment

    A deprecation warning is emitted eagerly, even during
    silent typechecking.
    som-snytt committed Feb 1, 2020
    Configuration menu
    Copy the full SHA
    fdcd611 View commit details
    Browse the repository at this point in the history