feat: shouldn't use this warning on list
This commit is contained in:
parent
e92d9af3c2
commit
831a37d094
|
@ -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(
|
||||||
|
|
Loading…
Reference in New Issue