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

Include bounds from promoted constants in NLL #57202

Merged
merged 3 commits into from
Mar 2, 2019

Commits on Mar 1, 2019

  1. Include bounds from promoted constants in NLL

    Previously, a promoted that contains a function item wouldn't have the
    function items bounds propagated to
    the main function body.
    matthewjasper committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    60eeed3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    848c252 View commit details
    Browse the repository at this point in the history
  3. Handle type annotations in promoted MIR correctly

    Type annotations are shared between the MIR of a function and the
    promoted constants for that function, so keep them in the type checker
    when we check the promoted MIR.
    matthewjasper committed Mar 1, 2019
    Configuration menu
    Copy the full SHA
    3b93d71 View commit details
    Browse the repository at this point in the history