Remove unused EmptyTuple variant from FlatType enum

This commit is contained in:
JRI98 2024-10-22 16:29:53 +01:00
parent fe029c85b6
commit edd0bb553d
No known key found for this signature in database
GPG key ID: F83B29916FF13F24
22 changed files with 34 additions and 111 deletions

View file

@ -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")
}