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

Fix strict const_err #1049

Merged
merged 1 commit into from
Oct 3, 2019
Merged

Commits on Oct 3, 2019

  1. Fix strict const_err

    An array is indexed with constants that exceed its size. This is
    inopportune even in a branch that never gets executed. This changes it
    so that the indexing happens on a slice.
    
    Also removes a bunch of annotations by avoiding primitive casts with
    explicit type annotations in constants.
    HeroicKatora committed Oct 3, 2019
    Configuration menu
    Copy the full SHA
    684089b View commit details
    Browse the repository at this point in the history