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

@ -2184,7 +2184,7 @@ fn adjust_rank_content(
rank
}
EmptyRecord | EmptyTuple => {
EmptyRecord => {
// from elm-compiler: THEORY: an empty record never needs to get generalized
//
// But for us, that theory does not hold, because there might be type variables hidden