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

Break when there is a mismatch in the type count #83535

Merged
merged 2 commits into from
Apr 2, 2021

Commits on Mar 26, 2021

  1. Break when there is a mismatch in the type count

    When other errors are generated, there can be a mismatch between the
    amount of input types in MIR, and the amount in the function itself.
    Break from the comparative loop if this is the case to prevent
    out-of-bounds.
    MidasLamb committed Mar 26, 2021
    Configuration menu
    Copy the full SHA
    5676bd5 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2021

  1. Add a test that triggers the out-of-bounds ICE.

    Add a test that has the right input to trigger an out-of-bounds
    error when in MIR the local_decls and the normalized_input_tys don't
    match in amount.
    MidasLamb committed Apr 1, 2021
    Configuration menu
    Copy the full SHA
    2d813b2 View commit details
    Browse the repository at this point in the history