add CoerceToTagId

This commit is contained in:
Folkert 2021-06-20 21:23:50 +02:00
parent 454241a04f
commit e1af2eb7d0
6 changed files with 47 additions and 1 deletions

View file

@ -450,6 +450,9 @@ where
Expr::GetTagId { structure, .. } => {
self.set_last_seen(*structure, stmt);
}
Expr::CoerceToTagId { structure, .. } => {
self.set_last_seen(*structure, stmt);
}
Expr::Array { elems, .. } => {
for sym in *elems {
self.set_last_seen(*sym, stmt);