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

typeck: Fix const generic in repeat param ICE. #61698

Merged
merged 1 commit into from
Jun 12, 2019

Commits on Jun 10, 2019

  1. typeck: Fix const generic in repeat param ICE.

    This commit fixes an ICE that occured when a const generic was used in
    a repeat expression. This was due to the code expecting the length of
    the repeat expression to be const evaluatable to a constant, but a const
    generic parameter is not (however, it can be made into a constant).
    davidtwco committed Jun 10, 2019
    Configuration menu
    Copy the full SHA
    9ed4674 View commit details
    Browse the repository at this point in the history