Correct crash refs

This commit is contained in:
Ayaz Hafiz 2022-11-24 14:50:39 -06:00
parent 26d8f0ce08
commit eef51c9d87
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58
2 changed files with 3 additions and 0 deletions

View file

@ -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(_, _, _, _, _)