add new Expr variants

This commit is contained in:
Folkert 2022-03-07 21:13:48 +01:00
parent 3510bad1d5
commit b3b3b8790c
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
7 changed files with 80 additions and 0 deletions

View file

@ -875,6 +875,12 @@ trait Backend<'a> {
self.set_last_seen(*sym, stmt);
}
}
Expr::ExprBox { symbol } => {
self.set_last_seen(*symbol, stmt);
}
Expr::ExprUnbox { symbol } => {
self.set_last_seen(*symbol, stmt);
}
Expr::Struct(syms) => {
for sym in *syms {
self.set_last_seen(*sym, stmt);