feat: shouldn't use this warning on list

This commit is contained in:
rvcas 2023-02-11 09:42:39 -05:00
parent e92d9af3c2
commit 831a37d094
No known key found for this signature in database
GPG Key ID: C09B64E263F7D68C
1 changed files with 1 additions and 0 deletions

View File

@ -893,6 +893,7 @@ impl<'a, 'b> ExprTyper<'a, 'b> {
}); });
} }
} else if !value_is_data } else if !value_is_data
&& !value_typ.is_list()
&& self && self
.environment .environment
.check_exhaustiveness( .check_exhaustiveness(