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

Do not ICE when evaluating locals' types of invalid yield #82245

Merged
merged 1 commit into from
Feb 19, 2021

Commits on Feb 18, 2021

  1. Do not ICE when evaluating locals' types of invalid yield

    When a `yield` is outside of a generator, check its value regardless to
    avoid an ICE while trying to get all locals' types in writeback.
    
    Fix rust-lang#78653.
    estebank committed Feb 18, 2021
    Configuration menu
    Copy the full SHA
    3eb454a View commit details
    Browse the repository at this point in the history