mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 07:14:46 +00:00
add CoerceToTagId
This commit is contained in:
parent
454241a04f
commit
e1af2eb7d0
6 changed files with 47 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue