mirror of
https://github.com/roc-lang/roc.git
synced 2025-11-01 21:40:58 +00:00
Correct crash refs
This commit is contained in:
parent
26d8f0ce08
commit
eef51c9d87
2 changed files with 3 additions and 0 deletions
|
|
@ -2883,6 +2883,7 @@ fn get_lookup_symbols(expr: &Expr) -> Vec<ExpectLookup> {
|
|||
// Intentionally ignore the lookups in the nested `expect` condition itself,
|
||||
// because they couldn't possibly influence the outcome of this `expect`!
|
||||
}
|
||||
Expr::Crash { msg, .. } => stack.push(&msg.value),
|
||||
Expr::Num(_, _, _, _)
|
||||
| Expr::Float(_, _, _, _, _)
|
||||
| Expr::Int(_, _, _, _, _)
|
||||
|
|
|
|||
|
|
@ -3529,6 +3529,8 @@ pub enum Category {
|
|||
|
||||
AbilityMemberSpecialization(Symbol),
|
||||
|
||||
Crash,
|
||||
|
||||
Expect,
|
||||
Dbg,
|
||||
Unknown,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue