Canonicalize crash

This commit is contained in:
Ayaz Hafiz 2022-11-02 12:41:59 -05:00
parent 1011ce9fba
commit dd05d813a9
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
5 changed files with 15 additions and 4 deletions

View file

@ -1056,7 +1056,8 @@ fn fix_values_captured_in_closure_expr(
| TypedHole { .. }
| RuntimeError(_)
| ZeroArgumentTag { .. }
| Accessor { .. } => {}
| Accessor { .. }
| Crash => {}
List { loc_elems, .. } => {
for elem in loc_elems.iter_mut() {