mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-02 00:01:16 +00:00
Remove unused EmptyTuple variant from FlatType enum
This commit is contained in:
parent
fe029c85b6
commit
edd0bb553d
22 changed files with 34 additions and 111 deletions
|
@ -237,9 +237,6 @@ fn index_var(
|
|||
};
|
||||
return Ok(std::iter::repeat(Variable::NULL).take(num_fields).collect());
|
||||
}
|
||||
FlatType::EmptyTuple => {
|
||||
return Ok(std::iter::repeat(Variable::NULL).take(0).collect());
|
||||
}
|
||||
FlatType::EmptyTagUnion => {
|
||||
internal_error!("empty tag unions are not indexable")
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue