mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 06:14:46 +00:00
rename Rethrow -> Resume
This commit is contained in:
parent
4eacbf5794
commit
03cc96f4ed
8 changed files with 20 additions and 18 deletions
|
@ -105,7 +105,7 @@ fn insert_jumps<'a>(
|
|||
exception_id,
|
||||
..
|
||||
} if needle == *fsym && symbol == rsym => {
|
||||
debug_assert_eq!(fail, &&Stmt::Rethrow(*exception_id));
|
||||
debug_assert_eq!(fail, &&Stmt::Resume(*exception_id));
|
||||
|
||||
// replace the call and return with a jump
|
||||
|
||||
|
@ -241,7 +241,7 @@ fn insert_jumps<'a>(
|
|||
None => None,
|
||||
},
|
||||
|
||||
Rethrow(_) => None,
|
||||
Resume(_) => None,
|
||||
Ret(_) => None,
|
||||
Jump(_, _) => None,
|
||||
RuntimeError(_) => None,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue