Skip to content
  • Richard Eisenberg's avatar
    Use mutable update to defer out-of-scope errors · 164887da
    Richard Eisenberg authored and Marge Bot's avatar Marge Bot committed
    Previously, we let-bound an identifier to use to carry
    the erroring evidence for an out-of-scope variable. But
    this failed for levity-polymorphic out-of-scope variables,
    leading to a panic (#17812). The new plan is to use
    a mutable update to just write the erroring expression directly
    where it needs to go.
    
    Close #17812.
    
    Test case: typecheck/should_compile/T17812
    164887da